mirror of
https://github.com/Luzifer/cloudkeys-go.git
synced 2024-11-14 00:42:44 +00:00
Knut Ahlers
cba35eff93
This implements a comment from Luzifer/cloudkeys-go#17 in order not to have to change the `config.go` when deploying Signed-off-by: Knut Ahlers <knut@ahlers.me>
11 lines
153 B
Go
11 lines
153 B
Go
// +build !appengine
|
|
|
|
package main
|
|
|
|
import "github.com/Luzifer/rconfig"
|
|
|
|
func loadConfig() *config {
|
|
cfg := &config{}
|
|
rconfig.Parse(cfg)
|
|
return cfg
|
|
}
|