Files
moxa/_test/struct18.go
2019-06-11 09:17:51 +02:00

21 lines
237 B
Go

package main
import (
"fmt"
"net/http"
)
type AuthenticatedRequest struct {
http.Request
Username string
}
func main() {
a := &AuthenticatedRequest{}
fmt.Printf("%v %T\n", a.Header, a.Header)
}
// Output:
// map[] http.Header