mirror of
https://github.com/astaxie/beego.git
synced 2025-06-13 09:20:41 +00:00
Minor grammar fixes
This commit is contained in:
2
pkg/config/env/env.go
vendored
2
pkg/config/env/env.go
vendored
@ -34,7 +34,7 @@ func init() {
|
||||
}
|
||||
}
|
||||
|
||||
// Get returns a value by key.
|
||||
// Get returns a value for a given key.
|
||||
// If the key does not exist, the default value will be returned.
|
||||
func Get(key string, defVal string) string {
|
||||
if val := env.Get(key); val != nil {
|
||||
|
Reference in New Issue
Block a user