Replace interface{} with any

This commit is contained in:
2025-02-24 21:42:39 +01:00
parent 96284c3dbd
commit d3ffcfbb53
11 changed files with 76 additions and 76 deletions

View File

@@ -15,8 +15,8 @@ func TestDefaultConfig(t *testing.T) {
tests := []struct {
name string
got interface{}
expected interface{}
got any
expected any
}{
{"DBPath", cfg.DBURL, "sqlite://lemma.db"},
{"WorkDir", cfg.WorkDir, "./data"},
@@ -119,8 +119,8 @@ func TestLoad(t *testing.T) {
tests := []struct {
name string
got interface{}
expected interface{}
got any
expected any
}{
{"IsDevelopment", cfg.IsDevelopment, true},
{"DBURL", cfg.DBURL, "/custom/db/path.db"},