Skip to content

Typos claims a typo in a version number in a go.mod file #1363

@neilschark

Description

@neilschark

Please complete the following tasks

Example data

github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect

Incorrect correction

error: ba should be by, be

Description of data format

A normal go.mod file for dependency management in go.

Example:

module test/test

go 1.24

require (
	github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936
)

Justification

A go.mod file is always used in golang.

I will just exclude the file from being checked, as there is not much use to it anyways.

Notes

Output from our CI

$ typos
error: `ba` should be `by`, `be`
  --> ./go.mod:32:52
   |
32 |  github.com/dprotaso/go-yit v0.0.0-20220510233725-9ba8df137936 // indirect
   |                                                    ^^
   |

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-excludeArea: automatic and user-controlled exclusionsS-triageStatus: New; needs maintainer attention.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions