github.com/brownsys/tracing-framework-go@v0.0.0-20161210174012-0542a62412fe/other/internal/gls/gls.go (about)

     1  package gls
     2  
     3  func Go(f func()) {
     4  	_go(f)
     5  }
     6  
     7  func Put(key, value interface{}) {
     8  	put(key, value)
     9  }
    10  
    11  func Get(key interface{}) (value interface{}, ok bool) {
    12  	return get(key)
    13  }
    14  
    15  func Delete(key interface{}) {
    16  	del(key)
    17  }