orm.go
func OptFieldTypeTime(quantum TimeQuantum, opts ...bool) FieldOption {
	return func(options *FieldOptions) {
		options.fieldType = FieldTypeTime
		options.timeQuantum = quantum
		if len(opts) > 0 && opts[0] {
			options.noStandardView = true
		}
	}
}
func OptFieldTypeTime(quantum TimeQuantum, opts ...bool) FieldOption {
	return func(options *FieldOptions) {
		options.fieldType = FieldTypeTime
		options.timeQuantum = quantum
		if len(opts) > 0 && opts[0] {
			options.noStandardView = true
		}
	}
}
func OptFieldTypeTime ( quantum TimeQuantum , opts ... bool ) FieldOption { return func ( options * FieldOptions ) { options . fieldType = FieldTypeTime options . timeQuantum = quantum if len ( opts ) > 0 && opts [ 0 ] { options . noStandardView = true } } }
// OptFieldTypeTime adds a time field.
OptFieldTypeTime adds a time field .