Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6e86600e6f
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (20 sloc) 0.548 kb
package model
import "strings"
type MultipleChoice []string
func (self *MultipleChoice) String() string {
return strings.Join([]string(*self), ";")
func (self *MultipleChoice) SetString(str string) error {
*self = MultipleChoice(strings.Split(str, ";"))
return nil
func (self *MultipleChoice) IsEmpty() bool {
return false
func (self *MultipleChoice) Required(metaData *MetaData) bool {
return metaData.BoolAttrib(StructTagKey, "required")
func (self *MultipleChoice) Validate(metaData *MetaData) error {
// todo
return nil
Jump to Line
Something went wrong with that request. Please try again.