mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-01-24 18:00:24 +08:00
12 lines
205 B
Go
12 lines
205 B
Go
|
package generator
|
||
|
|
||
|
import (
|
||
|
"strings"
|
||
|
|
||
|
"github.com/tal-tech/go-zero/tools/goctl/util/stringx"
|
||
|
)
|
||
|
|
||
|
func formatFilename(filename string) string {
|
||
|
return strings.ToLower(stringx.From(filename).ToCamel())
|
||
|
}
|