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