func path/filepath.Ext
5 uses
path/filepath (current package)
path.go#L220: func Ext(path string) string {
golang.org/x/pkgsite/internal/frontend
overview.go#L113: ext := strings.ToLower(filepath.Ext(filename))
golang.org/x/pkgsite/internal/postgres
searchdoc.go#L175: ext := strings.ToLower(filepath.Ext(filename))
golang.org/x/pkgsite/internal/proxy
test_helper.go#L76: modver := strings.TrimSuffix(filepath.Base(filename), filepath.Ext(filename))
net/http
fs.go#L235: ctype = mime.TypeByExtension(filepath.Ext(name))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |