File size: 458 Bytes
61bba11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2024 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

package godebug

import (
	"internal/godebug"
)

type Setting godebug.Setting

func New(name string) *Setting {
	return (*Setting)(godebug.New(name))
}

func (s *Setting) Value() string {
	return (*godebug.Setting)(s).Value()
}

func Value(name string) string {
	return godebug.New(name).Value()
}