fix: correct comments for exported functions and variables (#1158)

This commit is contained in:
Zhizhen He
2023-02-25 20:48:38 +08:00
committed by GitHub
parent 57479b250a
commit 50a99e9120
5 changed files with 25 additions and 34 deletions

View File

@@ -44,7 +44,7 @@ func checkDSN(dataDir string) (string, error) {
return dataDir, nil
}
// GetDevProfile will return a profile for dev or prod.
// GetProfile will return a profile for dev or prod.
func GetProfile() (*Profile, error) {
profile := Profile{}
err := viper.Unmarshal(&profile)