chore(deps): add jsonschema, mock, and sync dependencies
Adds invopop/jsonschema for config schema generation, uber/mock for improved mocking, and makes golang.org/x/sync a direct dependency. Also adds vendor/ to .gitignore.
- commit
- 158319478759e9acd93f83601303b7c6b9f888b9
- author
- bnema · · 2025-10-23 18:22 UTC
- committer
- bnema · · 2025-10-24 17:33 UTC
- parent
- 2e39051
- signature
- unsigned
3 files · +22 -1
M .gitignore +1 -0
| @@ -82,3 +82,4 @@ templates/ | |||
| 82 | 82 | .serena/ | |
| 83 | 83 | config.yaml | |
| 84 | 84 | .dev/ | |
| 85 | + | vendor/ | |
| @@ -82,3 +82,4 @@ templates/ | |||||
| 82 | .serena/ | 82 | .serena/ | ||
| 83 | config.yaml | 83 | config.yaml | ||
| 84 | .dev/ | 84 | .dev/ | ||
| 85 | + | vendor/ | |||
M go.mod +8 -1
| @@ -7,17 +7,23 @@ require ( | |||
| 7 | 7 | github.com/diamondburned/gotk4/pkg v0.3.1 | |
| 8 | 8 | github.com/fsnotify/fsnotify v1.9.0 | |
| 9 | 9 | github.com/golang/mock v1.6.0 | |
| 10 | + | github.com/invopop/jsonschema v0.13.0 | |
| 10 | 11 | github.com/ncruces/go-sqlite3 v0.29.0 | |
| 11 | 12 | github.com/spf13/cobra v1.10.1 | |
| 12 | 13 | github.com/spf13/viper v1.21.0 | |
| 14 | + | go.uber.org/mock v0.6.0 | |
| 15 | + | golang.org/x/sync v0.17.0 | |
| 13 | 16 | golang.org/x/sys v0.36.0 | |
| 14 | 17 | ) | |
| 15 | 18 | ||
| 16 | 19 | require ( | |
| 17 | 20 | github.com/KarpelesLab/weak v0.1.1 // indirect | |
| 21 | + | github.com/bahlo/generic-list-go v0.2.0 // indirect | |
| 22 | + | github.com/buger/jsonparser v1.1.1 // indirect | |
| 18 | 23 | github.com/go-viper/mapstructure/v2 v2.4.0 // indirect | |
| 19 | 24 | github.com/google/go-cmp v0.7.0 // indirect | |
| 20 | 25 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | |
| 26 | + | github.com/mailru/easyjson v0.7.7 // indirect | |
| 21 | 27 | github.com/ncruces/julianday v1.0.0 // indirect | |
| 22 | 28 | github.com/pelletier/go-toml/v2 v2.2.4 // indirect | |
| 23 | 29 | github.com/rogpeppe/go-internal v1.12.0 // indirect | |
| @@ -28,11 +34,12 @@ require ( | |||
| 28 | 34 | github.com/spf13/pflag v1.0.10 // indirect | |
| 29 | 35 | github.com/subosito/gotenv v1.6.0 // indirect | |
| 30 | 36 | github.com/tetratelabs/wazero v1.9.0 // indirect | |
| 37 | + | github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect | |
| 31 | 38 | go.yaml.in/yaml/v3 v3.0.4 // indirect | |
| 32 | 39 | go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect | |
| 33 | - | golang.org/x/sync v0.17.0 // indirect | |
| 34 | 40 | golang.org/x/text v0.29.0 // indirect | |
| 35 | 41 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | |
| 42 | + | gopkg.in/yaml.v3 v3.0.1 // indirect | |
| 36 | 43 | ) | |
| 37 | 44 | ||
| 38 | 45 | replace ( | |
| @@ -7,17 +7,23 @@ require ( | |||||
| 7 | github.com/diamondburned/gotk4/pkg v0.3.1 | 7 | github.com/diamondburned/gotk4/pkg v0.3.1 | ||
| 8 | github.com/fsnotify/fsnotify v1.9.0 | 8 | github.com/fsnotify/fsnotify v1.9.0 | ||
| 9 | github.com/golang/mock v1.6.0 | 9 | github.com/golang/mock v1.6.0 | ||
| 10 | + | github.com/invopop/jsonschema v0.13.0 | |||
| 10 | github.com/ncruces/go-sqlite3 v0.29.0 | 11 | github.com/ncruces/go-sqlite3 v0.29.0 | ||
| 11 | github.com/spf13/cobra v1.10.1 | 12 | github.com/spf13/cobra v1.10.1 | ||
| 12 | github.com/spf13/viper v1.21.0 | 13 | github.com/spf13/viper v1.21.0 | ||
| 14 | + | go.uber.org/mock v0.6.0 | |||
| 15 | + | golang.org/x/sync v0.17.0 | |||
| 13 | golang.org/x/sys v0.36.0 | 16 | golang.org/x/sys v0.36.0 | ||
| 14 | ) | 17 | ) | ||
| 15 | 18 | ||||
| 16 | require ( | 19 | require ( | ||
| 17 | github.com/KarpelesLab/weak v0.1.1 // indirect | 20 | github.com/KarpelesLab/weak v0.1.1 // indirect | ||
| 21 | + | github.com/bahlo/generic-list-go v0.2.0 // indirect | |||
| 22 | + | github.com/buger/jsonparser v1.1.1 // indirect | |||
| 18 | github.com/go-viper/mapstructure/v2 v2.4.0 // indirect | 23 | github.com/go-viper/mapstructure/v2 v2.4.0 // indirect | ||
| 19 | github.com/google/go-cmp v0.7.0 // indirect | 24 | github.com/google/go-cmp v0.7.0 // indirect | ||
| 20 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | 25 | github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
| 26 | + | github.com/mailru/easyjson v0.7.7 // indirect | |||
| 21 | github.com/ncruces/julianday v1.0.0 // indirect | 27 | github.com/ncruces/julianday v1.0.0 // indirect | ||
| 22 | github.com/pelletier/go-toml/v2 v2.2.4 // indirect | 28 | github.com/pelletier/go-toml/v2 v2.2.4 // indirect | ||
| 23 | github.com/rogpeppe/go-internal v1.12.0 // indirect | 29 | github.com/rogpeppe/go-internal v1.12.0 // indirect | ||
| @@ -28,11 +34,12 @@ require ( | |||||
| 28 | github.com/spf13/pflag v1.0.10 // indirect | 34 | github.com/spf13/pflag v1.0.10 // indirect | ||
| 29 | github.com/subosito/gotenv v1.6.0 // indirect | 35 | github.com/subosito/gotenv v1.6.0 // indirect | ||
| 30 | github.com/tetratelabs/wazero v1.9.0 // indirect | 36 | github.com/tetratelabs/wazero v1.9.0 // indirect | ||
| 37 | + | github.com/wk8/go-ordered-map/v2 v2.1.8 // indirect | |||
| 31 | go.yaml.in/yaml/v3 v3.0.4 // indirect | 38 | go.yaml.in/yaml/v3 v3.0.4 // indirect | ||
| 32 | go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect | 39 | go4.org/unsafe/assume-no-moving-gc v0.0.0-20231121144256-b99613f794b6 // indirect | ||
| 33 | - | golang.org/x/sync v0.17.0 // indirect | |||
| 34 | golang.org/x/text v0.29.0 // indirect | 40 | golang.org/x/text v0.29.0 // indirect | ||
| 35 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | 41 | gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect | ||
| 42 | + | gopkg.in/yaml.v3 v3.0.1 // indirect | |||
| 36 | ) | 43 | ) | ||
| 37 | 44 | ||||
| 38 | replace ( | 45 | replace ( | ||