Closed phob0s-pl closed 7 years ago
server := os.Getenv("ASOC_TEST_SERVER") if server == "" { return } key := os.Getenv("ASOC_API_KEY") if key == "" { return }
I have such a code in tests of API functions, because I am running clap meanwhile:
ASOC_API_KEY=2d18a990c0587b2078fbab5faa84be02 ./clap --sick --mock mock.toml
Is this way that is okay for you?
I have such a code in tests of API functions, because I am running clap meanwhile:
ASOC_API_KEY=2d18a990c0587b2078fbab5faa84be02 ./clap --sick --mock mock.toml
Is this way that is okay for you?