summaryrefslogtreecommitdiff
path: root/runner/python/indexer.go
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-14 20:13:13 +0200
committerewy <ewy0@protonmail.com>2026-04-14 20:13:13 +0200
commitf6963b1c451afcb2f0d0104f38178235e52f8b63 (patch)
tree791ac29577c358dcc588d2dc8db67a7be5e9b161 /runner/python/indexer.go
parentf26f2a1b0d9d2772ce42da34fd99762e5aa3ad32 (diff)
remove all name repetition
Diffstat (limited to 'runner/python/indexer.go')
-rw-r--r--runner/python/indexer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/runner/python/indexer.go b/runner/python/indexer.go
index d0dd4e3..3a61f7e 100644
--- a/runner/python/indexer.go
+++ b/runner/python/indexer.go
@@ -8,7 +8,7 @@ import (
"pik/model"
)
-type Pyproj struct {
+type pyproj struct {
Project struct {
Scripts map[string]string
}
@@ -29,7 +29,7 @@ func (p python) Index(path string, f fs.FS, runners []model.Runner) ([]model.Tar
return nil, err
}
- pp := &Pyproj{}
+ pp := &pyproj{}
err = toml.Unmarshal(content, pp)
if err != nil {