1
0
mirror of https://gitlab.crans.org/nounous/ghostream.git synced 2025-06-29 13:31:01 +02:00

Create config package and properly use Viper

This commit is contained in:
Alexandre Iooss
2020-10-11 21:35:43 +02:00
parent de5a48ded7
commit df88fd9e99
6 changed files with 156 additions and 110 deletions

View File

@ -0,0 +1,12 @@
package config
import (
"testing"
)
func TestLoad(t *testing.T) {
_, err := Load()
if err != nil {
t.Error("Failed to load configuration:", err)
}
}