1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-24 08:32:22 +02:00

Update logo

This commit is contained in:
mgechev 2018-05-26 15:29:05 -07:00
parent efd1b03432
commit 1899499017
No known key found for this signature in database
GPG Key ID: 3C44F5A2A289C6BB

17
main.go
View File

@ -5,16 +5,23 @@ import (
"io/ioutil"
"os"
"github.com/fatih/color"
"github.com/mgechev/revive/lint"
)
const banner = `
Welcome to:
_ __ _____ _(_)__ _____
var logo = color.YellowString(` _ __ _____ _(_)__ _____
| '__/ _ \ \ / / \ \ / / _ \
| | | __/\ V /| |\ V / __/
|_| \___| \_/ |_| \_/ \___|
`
|_| \___| \_/ |_| \_/ \___|`)
var call = color.MagentaString("revive -config c.toml -formatter friendly -exclude a.go -exclude b.go ./...")
var banner = fmt.Sprintf(`
%s
Example:
%s
`, logo, call)
func main() {
config := getConfig()