]> Cypherpunks repositories - gostls13.git/commit
net/http: correct doc for ServeFileFS
authorJes Cok <xigua67damn@gmail.com>
Thu, 28 Mar 2024 14:33:37 +0000 (22:33 +0800)
committerThan McIntosh <thanm@google.com>
Fri, 29 Mar 2024 00:17:10 +0000 (00:17 +0000)
commitbb523c9542e2848dfa403d0d84c759ad771e9d69
tree66e94795f0f9ff95aedeece022a04a18b0428fa0
parent8f618c1f5329bd81912f8f776cb8bf028c750687
net/http: correct doc for ServeFileFS

The documentation of ServeFileFS was partly copied from ServeFile
in CL 513956, however it's not exact. This CL fixes some typos, also
removes obsolete comment for name param.

For consistency, also adds godoc link for ServeFile and ServeContent.

Fixes #66578

Change-Id: I87147d72c533d46284f06ef20b37fdafa8706710
Reviewed-on: https://go-review.googlesource.com/c/go/+/575016
Reviewed-by: Than McIntosh <thanm@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
src/net/http/fs.go