rename session New func

This commit is contained in:
Jason
2019-08-19 00:43:18 +08:00
parent 1632ae38e4
commit d2e0460eac
2 changed files with 2 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ type Server struct {
completedSessions []Session
}
func NewServer() *Server {
func New() *Server {
return &Server{}
}