Versions in this module Expand all Collapse all v0 v0.1.0 May 14, 2021 Changes in this version + const JWTIdentityKey + const JWTRealm + const JWTTokenHeadName + const JWTTokenLookup + func IsValidServisanSearchByColumn(s string) bool + func IsValidServisanStatus(s string) bool + func IsValidUserRole(r string) bool + func ToRFC3339TimeString(t time.Time) string + type NullTime sql.NullTime + func ToNullableTime(t time.Time) NullTime + func (t *NullTime) MarshalJSON() ([]byte, error) + func (t *NullTime) Scan(value interface{}) error + func (t NullTime) Value() (driver.Value, error) + type ServisanSearchBy string + const ServisanReturnAll + const ServisanSearchByNama + const ServisanSearchByNomorHp + const ServisanSearchByNomorNota + const ServisanSearchByStatus + const ServisanSearchByTipeHp + func (s *ServisanSearchBy) Scan(value interface{}) error + func (s ServisanSearchBy) Value() (driver.Value, error) + type StatusServisan string + const StatusServisanJadiBelumDiambil + const StatusServisanJadiSudahDiambil + const StatusServisanPending + const StatusServisanSedangDikerjakan + const StatusServisanTdkJadiBelumDiambil + const StatusServisanTdkJadiSudahDiambil + func (s *StatusServisan) Scan(value interface{}) error + func (s StatusServisan) Value() (driver.Value, error) + type UserRole string + const AdminUserRole + const CustomerServiceUserRole + func (r *UserRole) Scan(value interface{}) error + func (r UserRole) Value() (driver.Value, error)