diff options
| author | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-09-24 23:36:00 +0200 |
|---|---|---|
| committer | Philipp Tanlak <philipp.tanlak@gmail.com> | 2023-09-24 23:36:00 +0200 |
| commit | bd9e7f7acfd855d4685aa4544169c0e29cdbf205 (patch) | |
| tree | c5218c65359c0c2dee5a8db2670f30db677f068a /utils.go | |
| parent | 08df9258a532b653c243e077e82491dbe62ad854 (diff) | |
clean up modules
Diffstat (limited to 'utils.go')
| -rw-r--r-- | utils.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -27,6 +27,6 @@ func Print(v any, prefix string) string { return prefix + strings.TrimSuffix(buf.String(), "\n") } -func ParseOptions(opts Options, v any) { - json.Unmarshal(opts, v) +func ParseConfig(cfg Config, v any) { + json.Unmarshal(cfg, v) } |