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)