mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +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()
|
|
}
|