diff --git a/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md b/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md index b061360..3657dfd 100644 --- a/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md +++ b/Software/Development/Language/Go/Package/Go_语言_flag_包基本使用.md @@ -99,12 +99,12 @@ import ( "fmt" ) -func usage(){ +func usage() { fmt.Println("nginx version v1.12") flag.PrintDefaults() } -func main(){ +func main() { flag.Usage = usage flag.Parse() }