Source file src/crypto/internal/fips140deps/godebug/godebug.go
1 // Copyright 2024 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package godebug 6 7 import ( 8 "internal/godebug" 9 ) 10 11 type Setting godebug.Setting 12 13 func New(name string) *Setting { 14 return (*Setting)(godebug.New(name)) 15 } 16 17 func (s *Setting) Value() string { 18 return (*godebug.Setting)(s).Value() 19 } 20 21 func Value(name string) string { 22 return godebug.New(name).Value() 23 } 24