parser

package
Version: v0.0.0-...-1e305c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IOSAssetsDir     = "ios_assets"
	AndroidAssetsDir = "android_assets"
	IOSPlistFile     = "app.plist"
	AppIconFile      = "appicon.png"
	VersionJsonFile  = "version.json"
	IndexHTMLFile    = "index.html"
	IPAExt           = ".ipa"
	APKExt           = ".apk"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Changelog

type Changelog struct {
	Author, Date, Subject string
}

type MobileApp

type MobileApp struct {
	*ipapk.AppInfo
	UploadDate  string
	DownloadURL string
	PlistURL    htmltemp.URL
	File        string
	Changelogs  []Changelog
}

AppFile contains common fields of APK and IPA file

func (MobileApp) GenerateAssets

func (app MobileApp) GenerateAssets() error

GenerateAssets creates the site assets that will be uploaded along with the ipa or apk file

func (MobileApp) IsIOS

func (app MobileApp) IsIOS() bool

IsIOS is used for templating conditions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL