adsa-cms: github.com/mmanjoura/adsa-cms/i18n/backends/yaml Index | Files

package yaml

import "github.com/mmanjoura/adsa-cms/i18n/backends/yaml"

Index

Package Files

yaml.go

func New Uses

func New(paths ...string) i18n.Backend

New new YAML backend for I18n

type Backend Uses

type Backend struct {
    // contains filtered or unexported fields
}

Backend YAML backend

func (*Backend) DeleteTranslation Uses

func (backend *Backend) DeleteTranslation(t *i18n.Translation) error

DeleteTranslation delete translation into YAML backend, not implemented

func (*Backend) LoadTranslations Uses

func (backend *Backend) LoadTranslations() (translations []*i18n.Translation)

LoadTranslations load translations from YAML backend

func (*Backend) SaveTranslation Uses

func (backend *Backend) SaveTranslation(t *i18n.Translation) error

SaveTranslation save translation into YAML backend, not implemented

Package yaml imports 9 packages (graph) and is imported by 1 packages. Updated 2017-06-20. Refresh now. Tools for package owners.