Skip to content

Houtmann/go-sort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-sort

Create plugin for golangci-lint

go build -o gosort.so -buildmode=plugin ./plugin/

In .golangci.yml

linters-settings:
  custom:
    gosort:
      path: gosort.so
      description: go-sort linter check if struct fields are sorted
      original-url: github.com/Houtmann/go-sort

and add

linters:
  disable-all: true
  enable:
    - gosort