From 0d83b653a65903cc1617814348ec570c18d22096 Mon Sep 17 00:00:00 2001 From: "rick.chan" Date: Wed, 9 Aug 2023 11:36:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E6=A0=BC=E5=BC=8F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: rick.chan --- .../Language/Go/Package/Go_语言_flag_包基本使用.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() }