coal/model.go
func (b *Base) MustSet(name string, value interface{}) {
	// find field
	field := b.meta.Fields[name]
	if field == nil {
		panic(fmt.Sprintf(`coal: field "%s" not found on "%s"`, name, b.meta.Name))
	}

	// set the value on model struct
	reflect.ValueOf(b.model).Elem().Field(field.index).Set(reflect.ValueOf(value))
}
func (b *Base) MustSet(name string, value interface{}) {
	// find field
	field := b.meta.Fields[name]
	if field == nil {
		panic(fmt.Sprintf(`coal: field "%s" not found on "%s"`, name, b.meta.Name))
	}

	// set the value on model struct
	reflect.ValueOf(b.model).Elem().Field(field.index).Set(reflect.ValueOf(value))
}
// MustSet will set the given field to the the passed valued. MustSet will panic
// if no field has been found.