MCPcopy Create free account
hub / github.com/devopsctl/gitlabctl / setE

Function setE

cmd/helpers_for_test.go:44–49  ·  view source on GitHub ↗
(k, v string)

Source from the content-addressed store, hash-verified

42)
43
44func setE(k, v string) {
45 tInfo(fmt.Sprintf("setting env '%s' to '%s'", k, v))
46 if err := os.Setenv(k, v); err != nil {
47 log.Fatal(err)
48 }
49}
50
51func tInfo(msg interface{}) {
52 fmt.Println("--- INFO:", msg)

Callers 3

setBasicAuthEnvsFunction · 0.85
setPrivateTokenEnvsFunction · 0.85
setOAuthTokenEnvsFunction · 0.85

Calls 1

tInfoFunction · 0.85

Tested by

no test coverage detected