storage

package
v0.0.0-...-b26f218 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAppleFile   = "Localizable" // hidden format .strings/.stringsdict
	DefaultAndroidFile = "strings.xml"
)

Variables

View Source
var (
	IosFormat = []string{".strings", ".stringsdict"}
)

Functions

func GetPlatformByString

func GetPlatformByString(platform string) int64

Types

type File

type File struct {
	Name     string
	WebPath  string
	S3FileID string
	S3Bucket string
}

type FileParameter

type FileParameter struct {
	LocalizationLocale string
	Platform           string
	TranslatedText     generator.Document
}

type Storage

type Storage interface {
	Create(parameter FileParameter) (*File, error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL