Categorygithub.com/pkg6/appgo
modulepackage
0.0.0-20240415090357-9ec8e8aa4f33
Repository: https://github.com/pkg6/appgo.git
Documentation: pkg.go.dev

# README

description

The source code comes from a third-party project and is independently used to parse the app package information. Competent people are welcome to submit code.

According to file suffix

AppParsePath

AppParseFile

AppParseReader

AppParseMultipartFile

package main

import (
	"fmt"
	"io"
	"os"

	"github.com/pkg6/appgo"
)

func main() {
	filename := "./.test_data/ipa.ipa"
	f, err := os.Open(filename)
	if err != nil {
		fmt.Println(err)
	}
	defer f.Close()
	info, _ := appgo.AppParseFile(f)
	// ico 保存在本地
	filename, buf, _ := info.Icon()
	file, _ := os.Create(filename)
	defer file.Close()
	io.Copy(file, buf)
}

Obtain APK information

APKParsePath

APKParseFile

APKParseReader

APKParseMultipartFile

package main

import (
	"fmt"

	"github.com/pkg6/appgo"
)

func main() {
	info, err := appgo.APKParseFile(".test_data/helloworld.apk")
	fmt.Println(info, err)
}

Obtain IPA information

IPAParsePath

IPAParseFile

IPAParseReader

IPAParseMultipartFile

package main

import (
	"fmt"

	"github.com/pkg6/appgo"
)

func main() {
	info, err := appgo.IPAParsePath(".test_data/ipa.ipa")
	fmt.Println(info, err)
}

Link

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
streaming multiple io.Reader as one.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author