1 //go:build go1.4 2 // +build go1.4 3 4 package handlers 5 6 import ( 7 "net/http" 8 ) 9 10 func basicAuth(r *http.Request) (username, password string, ok bool) { 11 return r.BasicAuth() 12 } 13
View as plain text