File: debug.go

package info (click to toggle)
golang-github-smallstep-pkcs7 0.2.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 504 kB
  • sloc: makefile: 16
file content (14 lines) | stat: -rw-r--r-- 357 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package legacyx509

import "fmt"

// legacyGodebugSetting is a type mimicking Go's internal godebug package
// settings, which are used to enable / disable certain functionalities at
// build time.
type legacyGodebugSetting int

func (s legacyGodebugSetting) Value() string {
	return fmt.Sprintf("%d", s)
}

func (s legacyGodebugSetting) IncNonDefault() {}