Skip to content
New issue

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

net/http: doc syntax error #23252

Closed
rookiejin opened this issue Dec 27, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@rookiejin
Copy link

commented Dec 27, 2017

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

v1.9.0

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\gopath
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config

What did you do?

I found a doc syntax error , with package net/http
client.go

What did you expect to see?

A Client is a HTTP client.

What did you see instead?

A Client is an HTTP client.

pull request is #23250

@dominikh

This comment has been minimized.

Copy link
Member

commented Dec 27, 2017

The letter H can be pronounced either /heɪtʃ/ or /eɪtʃ/, with the latter being the recommended way in Great Britain, and the common way in most of the US. Whether the a or the an article is used isn't determined by the spelling of a word, but its pronunciation. For example, it is an hour, because the h in hour is silent. Similarly, the popular way of pronouncing HTTP requires using an, not a.

@dominikh dominikh closed this Dec 27, 2017

@mikioh mikioh changed the title doc syntax error net/http: doc syntax error Dec 27, 2017

@golang golang locked and limited conversation to collaborators Dec 27, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.