github.com/wfusion/gofusion@v1.1.14/lock/flag.go (about) 1 package lock 2 3 import "github.com/spf13/pflag" 4 5 var flagString string 6 7 func init() { 8 pflag.StringVarP(&flagString, "lock-config", "", "", "json string for lock config") 9 }