add stringx.FirstN (#914)

This commit is contained in:
Kevin Wan
2021-08-15 23:02:48 +08:00
committed by GitHub
parent a21ff71373
commit f2612db4b1
3 changed files with 60 additions and 4 deletions

View File

@@ -10,10 +10,12 @@ import (
"github.com/tal-tech/go-zero/tools/goctl/vars"
)
const bin = "bin"
const binGo = "go"
const binProtoc = "protoc"
const binProtocGenGo = "protoc-gen-go"
const (
bin = "bin"
binGo = "go"
binProtoc = "protoc"
binProtocGenGo = "protoc-gen-go"
)
// LookUpGo searches an executable go in the directories
// named by the GOROOT/bin or PATH environment variable.