func path.Base
13 uses
path (current package)
path.go#L199: func Base(path string) string {
go.pact.im/x/old/pgtxtar
pgtxtar.go#L37: name := strings.TrimSuffix(path.Base(fpath), path.Ext(fpath))
go/doc
example.go#L285: n := path.Base(p)
example.go#L350: if path.Base(p) != n {
html/template
template.go#L532: name = path.Base(file)
net/http
fs.go#L618: localRedirect(w, r, path.Base(url)+"/")
fs.go#L623: localRedirect(w, r, "../"+path.Base(url))
fs.go#L633: localRedirect(w, r, path.Base(url)+"/")
server.go#L1137: w.conn.server.logf("http: response.WriteHeader on hijacked connection from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L1142: w.conn.server.logf("http: superfluous response.WriteHeader call from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L1585: w.conn.server.logf("http: response.Write on hijacked connection from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
server.go#L3452: logf(tw.req, "http: superfluous response.WriteHeader call from %s (%s:%d)", caller.Function, path.Base(caller.File), caller.Line)
text/template
helper.go#L173: name = path.Base(file)