Documentation
¶
Index ¶
- func CommonFields(f dbmodel.CommonFields) dinkur.CommonFields
- func CommonFieldsID(f dbmodel.CommonFields, id uint) dinkur.CommonFields
- func Entry(t dbmodel.Entry) dinkur.Entry
- func EntryPtr(t *dbmodel.Entry) *dinkur.Entry
- func EntrySlice(entries []dbmodel.Entry) []dinkur.Entry
- func Status(status dbmodel.Status) dinkur.Status
- func TimeFields(f dbmodel.CommonFields) dinkur.TimeFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonFields ¶
func CommonFields(f dbmodel.CommonFields) dinkur.CommonFields
CommonFields converts dbmodel common fields to dinkur common fields.
func CommonFieldsID ¶
func CommonFieldsID(f dbmodel.CommonFields, id uint) dinkur.CommonFields
CommonFieldsID converts dbmodel common fields to dinkur common fields with custom ID.
func EntrySlice ¶
EntrySlice converts a slice of dbmodel entries to dinkur entries.
func TimeFields ¶
func TimeFields(f dbmodel.CommonFields) dinkur.TimeFields
TimeFields converts dbmodel common fields to dinkur time fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.