mirror of
https://github.com/mgechev/revive.git
synced 2024-11-28 08:49:11 +02:00
1c283837a9
This change allows revive to be called from main.go in other libraries and pass in a list of custom linters to be added to the built-in linters found in config Co-authored-by: Bernardo Heynemann <bernardo.heynemann@coinbase.com> Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
8 lines
87 B
Go
8 lines
87 B
Go
package main
|
|
|
|
import "github.com/mgechev/revive/cli"
|
|
|
|
func main() {
|
|
cli.RunRevive()
|
|
}
|