godebug.mx raw

   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 []byte) *Setting {
  14  	return (*Setting)(godebug.New(name))
  15  }
  16  
  17  func (s *Setting) Value() []byte {
  18  	return (*godebug.Setting)(s).Value()
  19  }
  20  
  21  func Value(name []byte) []byte {
  22  	return godebug.New(name).Value()
  23  }
  24