Documentation ¶
Index ¶
- func CheckPasswordHash(hash, password []byte) error
- func GetActualMax(end int, total int) int
- func GetActualMin(start int, total int) int
- func GetFirstElementID[T types.Record](vals []T) int
- func GetFirstElementType(vals []types.JobApplicationTimelineEntry) types.JobApplicationTimelineType
- func HashPassword(password []byte) ([]byte, error)
- func JobRowID(id int) string
- func JobRowMetadata(id int) string
- func TimelineNoteRowID(id int) string
- func TimelineNoteRowStringID(id string) string
- func TimelineStatusRowID(id int) string
- func TimelineStatusRowStringID(id string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPasswordHash ¶
CheckPassword securely compares a bcrypt hashed password with its possible plaintext equivalent. Returns nil on success, or an error on failure.
func GetActualMax ¶
func GetActualMin ¶
func GetFirstElementID ¶
func GetFirstElementType ¶
func GetFirstElementType(vals []types.JobApplicationTimelineEntry) types.JobApplicationTimelineType
func HashPassword ¶
HashPassword generates a bcrypt hash of the password using work factor 14.
func JobRowMetadata ¶
func TimelineNoteRowID ¶
func TimelineNoteRowStringID ¶
func TimelineStatusRowID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.