data

package
v0.0.0-...-163dc15 Latest Latest
Warning

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

Go to latest
Published: May 2, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionError

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

func CreateActionError

func CreateActionError(text string) *ActionError

func (*ActionError) Error

func (err *ActionError) Error() string

type LanguageInfo

type LanguageInfo struct {
	Image      string           `json:"image"`
	Label      string           `json:"label"`
	Translator *i18n.Translator `json:"-"`
}

type OAuthServiceRequestState

type OAuthServiceRequestState struct {
	Lang string `json:"lang"`
	Ajax string `json:"ajax"`
}

type Settings

type Settings struct {
	PageRoot        string                  `json:"pageRoot"`
	Languages       map[string]LanguageInfo `json:"languages"`
	DefaultLanguage string                  `json:"defaultLanguage"`
}

type User

type User struct {
	Email    string
	Password string
	FullName string
	Photo    string
	gorm.Model
}

Jump to

Keyboard shortcuts

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