consts_gen_enums_template.go 661 B

1234567891011121314151617181920212223
  1. // Copyright GoFrame gf Author(https://goframe.org). All Rights Reserved.
  2. //
  3. // This Source Code Form is subject to the terms of the MIT License.
  4. // If a copy of the MIT was not distributed with this file,
  5. // You can obtain one at https://github.com/gogf/gf.
  6. package consts
  7. const TemplateGenEnums = `
  8. // ================================================================================
  9. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  10. // ================================================================================
  11. package {PackageName}
  12. import (
  13. "github.com/gogf/gf/v2/util/gtag"
  14. )
  15. func init() {
  16. gtag.SetGlobalEnums({EnumsJson})
  17. }
  18. `