Versions in this module Expand all Collapse all v4 v4.15.1 Feb 17, 2024 Changes in this version + func SetupFakeAPI(t *testing.T) (*http.ServeMux, string) + func WriteJSONResponse(w http.ResponseWriter, body interface{}) error + type EnvTest struct + func NewEnvTest(keys ...string) *EnvTest + func (e *EnvTest) Apply(envVars map[string]string) + func (e *EnvTest) ClearEnv() + func (e *EnvTest) GetDomain() string + func (e *EnvTest) GetValue(key string) string + func (e *EnvTest) IsLiveTest() bool + func (e *EnvTest) RestoreEnv() + func (e *EnvTest) WithDomain(key string) *EnvTest + func (e *EnvTest) WithLiveTestExtra(extra func() bool) *EnvTest + func (e *EnvTest) WithLiveTestRequirements(keys ...string) *EnvTest Other modules containing this package github.com/ChintuIdrive/lego