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:
12
internal/config/config_test.go
Normal file
12
internal/config/config_test.go
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user