We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
加上这个选项,这个命令行选项,必须传入。
package main import ( "github.com/guonaihong/clop" ) type gurl struct { Url string `clop:"-u; --url" usage:"url" valid:"required"` Text string `clop:"-t; --text" usage:"text" valid:"required"` } func main() { g := gurl{} clop.Bind(&g) //fmt.Printf("%s\n", err) }
The text was updated successfully, but these errors were encountered:
update #10 新增必选标记支持
05fa1d0
update #10,必选项支持
8545885
update #10,更新测试代码
6dd6b0a
No branches or pull requests
加上这个选项,这个命令行选项,必须传入。
The text was updated successfully, but these errors were encountered: