diff options
| author | Arslaan Pathan <[email protected]> | 2026-05-04 19:08:27 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-05-04 19:08:27 +1200 |
| commit | ee243ae54b1db365613f4f35be6b728100282aaf (patch) | |
| tree | 4365996fcec72db0223536078dc3d1b5d31544f2 | |
| parent | 075bc9a33b0f0df8dd59b55e3f425816448750c7 (diff) | |
| download | kiiro-ee243ae54b1db365613f4f35be6b728100282aaf.tar.xz kiiro-ee243ae54b1db365613f4f35be6b728100282aaf.zip | |
i made a typo :sk:
| -rw-r--r-- | internal/manifest/manifest.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/manifest/manifest.go b/internal/manifest/manifest.go index ffb73f8..9b9f1b4 100644 --- a/internal/manifest/manifest.go +++ b/internal/manifest/manifest.go @@ -54,11 +54,11 @@ func FetchKiiroToml(url string) (*KiiroToml, error) { } fmt.Println("Fetched package listing!") - return packageListing, nil + return kiirotoml, nil } -func ParseKiiroToml(kiirotomlTOML []byte) (*Kiirotoml, error) { - var kiirotoml Kiirotoml +func ParseKiiroToml(kiirotomlTOML []byte) (*KiiroToml, error) { + var kiirotoml KiiroToml err := toml.Unmarshal(kiirotomlTOML, kiirotoml); if err != nil { return nil, err |
