controller.go 394 B

123456789101112131415161718
  1. // Copyright 2019 getensh.com. All rights reserved.
  2. // Use of this source code is governed by getensh.com.
  3. package v1_0
  4. import jsoniter "github.com/json-iterator/go"
  5. // 替换encoding/json包
  6. var json = jsoniter.ConfigCompatibleWithStandardLibrary
  7. // Controller
  8. type Controller struct {
  9. }
  10. // NewController return a new controller
  11. func NewController() *Controller {
  12. return &Controller{}
  13. }