mirror of
https://github.com/onyx-and-iris/gignore.git
synced 2025-05-16 17:20:32 +01:00
remove redundant func
This commit is contained in:
parent
01e7871bad
commit
891057ff86
@ -1,11 +0,0 @@
|
|||||||
package main
|
|
||||||
|
|
||||||
import "os"
|
|
||||||
|
|
||||||
func getEnv(key, defaultValue string) string {
|
|
||||||
value := os.Getenv(key)
|
|
||||||
if value == "" {
|
|
||||||
return defaultValue
|
|
||||||
}
|
|
||||||
return value
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user