1package httpmock 2 3import ( 4 "os" 5) 6 7var envVarName = "GONOMOCKS" 8 9func Disabled() bool { 10 return os.Getenv(envVarName) != "" 11} 12