characters

package
v0.0.0-...-a74fbde Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddImage

func AddImage(uID int, cID int, p int) (uint, error)

AddImage 画像を追加する

func DeleteByID

func DeleteByID(id int, userID int) error

DeleteByID IDから削除する

func GetImageName

func GetImageName(id uint) string

GetImageName 画像名を取得する

func SaveToVoiceType

func SaveToVoiceType(id int, v int, userID int) error

SaveToVoiceType 音声状態を保存する

Types

type Image

type Image struct {
	ID          uint   `json:"id"`
	CharacterID int    `json:"characterID"`
	Priority    int    `json:"priority"`
	VoiceType   int    `json:"voiceType"`
	FileName    string `json:"fileName"`
}

Image 画像

func GetImageListByUserID

func GetImageListByUserID(uID int) ([]Image, error)

GetImageListByUserID ユーザーIDからリストを取得する

Jump to

Keyboard shortcuts

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