Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created December 10, 2021 05:10
Show Gist options
  • Save manakuro/a555d045a443f590ae290b7e0f2bf82f to your computer and use it in GitHub Desktop.
Save manakuro/a555d045a443f590ae290b7e0f2bf82f to your computer and use it in GitHub Desktop.
package testutil
import (
"golang-clean-architecture-ent-gqlgen/config"
"golang-clean-architecture-ent-gqlgen/pkg/util/environment"
)
// ReadConfig reads config file for test.
func ReadConfig() {
config.ReadConfig(config.ReadConfigOption{
AppEnv: environment.Test,
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment