debug.go 357 B

1234567891011121314
  1. package legacyx509
  2. import "fmt"
  3. // legacyGodebugSetting is a type mimicking Go's internal godebug package
  4. // settings, which are used to enable / disable certain functionalities at
  5. // build time.
  6. type legacyGodebugSetting int
  7. func (s legacyGodebugSetting) Value() string {
  8. return fmt.Sprintf("%d", s)
  9. }
  10. func (s legacyGodebugSetting) IncNonDefault() {}