另客网go项目公用的代码库

codecgen.go 283B

1234567891011121314
  1. // +build codecgen generated
  2. package codec
  3. // this file is here, to set the codecgen variable to true
  4. // when the build tag codecgen is set.
  5. //
  6. // this allows us do specific things e.g. skip missing fields tests,
  7. // when running in codecgen mode.
  8. func init() {
  9. codecgen = true
  10. }