aboutsummaryrefslogtreecommitdiff
path: root/internal/manifest/manifest.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/manifest/manifest.go')
-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")
+}