aboutsummaryrefslogtreecommitdiff
path: root/internal/manifest
diff options
context:
space:
mode:
authorArslaan Pathan <[email protected]>2026-03-06 07:26:52 +1300
committerArslaan Pathan <[email protected]>2026-03-06 07:26:52 +1300
commitbc8d25088706ac808eb4c4e337ea02b57413c234 (patch)
tree900686ad5b86da5a887f99a7a7ab022fb61b5186 /internal/manifest
parentbd6f6fbe80ef419fdf38c4154add3c4d7a452da0 (diff)
downloadkiiro-bc8d25088706ac808eb4c4e337ea02b57413c234.tar.xz
kiiro-bc8d25088706ac808eb4c4e337ea02b57413c234.zip
say unfinished
Diffstat (limited to 'internal/manifest')
-rw-r--r--internal/manifest/manifest.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/internal/manifest/manifest.go b/internal/manifest/manifest.go
index aea7fbe..79642cc 100644
--- a/internal/manifest/manifest.go
+++ b/internal/manifest/manifest.go
@@ -3,6 +3,15 @@
package manifest
+import (
+ "fmt"
+ "encoding/json"
+ "net/http"
+ "log"
+ "io"
+ "errors"
+)
+
type KiiroToml struct {
Name string `toml:"pkgname"`
Version string `toml:"version"`
@@ -12,3 +21,7 @@ type KiiroToml struct {
Depends []string `toml:"deps"`
}
+func FetchKiiroToml(url string) (*KiiroToml, error) {
+ fmt.Println("Fetching kiiro.toml...")
+ return nil, errors.New("not implemented")
+}