This commit is contained in:
crusader 2017-11-01 15:24:05 +09:00
parent 7e0de361a8
commit 7e50d94cbe

View File

@ -16,7 +16,7 @@ type Server interface {
Serve() error Serve() error
} }
func NewServer(sh ServerHandler) Server { func New(sh ServerHandler) Server {
s := &server{ s := &server{
sh: sh, sh: sh,
} }