From 29b4d0299dd7ed4ad894283654851189ba8a222c Mon Sep 17 00:00:00 2001 From: Tim Zhang Date: Sun, 1 Jun 2025 09:28:32 +1000 Subject: [PATCH] Fix minor code formatting issue in mistake #11 --- docs/index.md | 2 +- docs/ja.md | 4 ++-- docs/pt-br.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/index.md b/docs/index.md index 02ce25a..dc2bc99 100644 --- a/docs/index.md +++ b/docs/index.md @@ -236,7 +236,7 @@ func WithPort(port int) Option { } } -func NewServer(addr string, opts ...Option) ( *http.Server, error) { +func NewServer(addr string, opts ...Option) (*http.Server, error) { var options options for _, opt := range opts { err := opt(&options) diff --git a/docs/ja.md b/docs/ja.md index da9a273..86bcbc5 100644 --- a/docs/ja.md +++ b/docs/ja.md @@ -243,7 +243,7 @@ func WithPort(port int) Option { } } -func NewServer(addr string, opts ...Option) ( *http.Server, error) { +func NewServer(addr string, opts ...Option) (*http.Server, error) { var options options for _, opt := range opts { err := opt(&options) @@ -2036,4 +2036,4 @@ ticker = time.NewTicker(1000 * time.Nanosecond) ???+ info "要約" - Docker と Kubernetes にデプロイする際の CPU スロットリングを回避するには、Go言語が CFS 対応ではないことに留意してください。 \ No newline at end of file + Docker と Kubernetes にデプロイする際の CPU スロットリングを回避するには、Go言語が CFS 対応ではないことに留意してください。 diff --git a/docs/pt-br.md b/docs/pt-br.md index aac235a..0f2acc1 100644 --- a/docs/pt-br.md +++ b/docs/pt-br.md @@ -233,7 +233,7 @@ func WithPort(port int) Option { } } -func NewServer(addr string, opts ...Option) ( *http.Server, error) { +func NewServer(addr string, opts ...Option) (*http.Server, error) { var options options for _, opt := range opts { err := opt(&options)