section

package
v0.0.0-...-7d4eec7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2014 License: BSD-2-Clause Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Section

type Section struct {
	Id       string         `gorethink:"-" json:"id"`
	Content  string         `gorethink:"content" json:"content"`
	AudiosId []string       `gorethink:"audios" json:"-"`
	Audios   []*audio.Audio `gorethink:"-" json:"audios"`
}

func BuildFromText

func BuildFromText(pos int, text string) *Section

func Get

func Get(articleId string, id string) (*Section, error)

func (*Section) AddAudio

func (s *Section) AddAudio(articleId string, uploadFile multipart.File) error

func (*Section) CreateFromRaw

func (s *Section) CreateFromRaw(shard string) error

func (*Section) Merge

func (s *Section) Merge(shard string) error

Jump to

Keyboard shortcuts

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