Documentation ¶
Index ¶
- Variables
- type AlertType
- type FilterOpts
- type JobApplication
- type JobApplicationNote
- type JobApplicationStatus
- type JobApplicationStatusHistory
- type JobApplicationTimelineEntry
- type JobApplicationTimelineType
- type NewTimelineEntry
- type PaginationOpts
- type Record
- type SelectOption
- type SelectOpts
- type Session
- type StatsOpts
- type User
Constants ¶
This section is empty.
Variables ¶
View Source
var JobApplicationStatusSelectOptions = []SelectOption{ { Label: "Accepted", Value: JobApplicationStatusAccepted.String(), }, { Label: "Applied", Value: JobApplicationStatusApplied.String(), }, { Label: "Canceled", Value: JobApplicationStatusCanceled.String(), }, { Label: "Closed", Value: JobApplicationStatusClosed.String(), }, { Label: "Declined", Value: JobApplicationStatusDeclined.String(), }, { Label: "Interviewing", Value: JobApplicationStatusInterviewing.String(), }, { Label: "Offered", Value: JobApplicationStatusOffered.String(), }, { Label: "Rejected", Value: JobApplicationStatusRejected.String(), }, { Label: "Watching", Value: JobApplicationStatusWatching.String(), }, { Label: "Withdrawn", Value: JobApplicationStatusWithdrawn.String(), }, }
Functions ¶
This section is empty.
Types ¶
type FilterOpts ¶
type FilterOpts struct { Company string Status JobApplicationStatus }
type JobApplication ¶
type JobApplication struct { CreatedAt time.Time UpdatedAt time.Time AppliedAt time.Time Company string Title string URL string Status JobApplicationStatus ID int UserID int }
func (JobApplication) RecordID ¶
func (j JobApplication) RecordID() int
type JobApplicationNote ¶
type JobApplicationNote struct { CreatedAt time.Time UpdatedAt time.Time Note string ID int JobApplicationID int }
func (JobApplicationNote) Created ¶
func (j JobApplicationNote) Created() time.Time
func (JobApplicationNote) RecordID ¶
func (j JobApplicationNote) RecordID() int
func (JobApplicationNote) Type ¶
func (j JobApplicationNote) Type() JobApplicationTimelineType
type JobApplicationStatus ¶
type JobApplicationStatus string
const ( JobApplicationStatusAccepted JobApplicationStatus = "accepted" JobApplicationStatusApplied JobApplicationStatus = "applied" JobApplicationStatusCanceled JobApplicationStatus = "canceled" JobApplicationStatusClosed JobApplicationStatus = "closed" JobApplicationStatusDeclined JobApplicationStatus = "declined" JobApplicationStatusInterviewing JobApplicationStatus = "interviewing" JobApplicationStatusOffered JobApplicationStatus = "offered" JobApplicationStatusRejected JobApplicationStatus = "rejected" JobApplicationStatusWatching JobApplicationStatus = "watching" JobApplicationStatusWithdrawn JobApplicationStatus = "withdrawn" )
func ToJobApplicationStatus ¶
func ToJobApplicationStatus(val string) JobApplicationStatus
func (JobApplicationStatus) PrettyString ¶
func (j JobApplicationStatus) PrettyString() string
func (JobApplicationStatus) String ¶
func (j JobApplicationStatus) String() string
type JobApplicationStatusHistory ¶
type JobApplicationStatusHistory struct { CreatedAt time.Time UpdatedAt time.Time Status JobApplicationStatus ID int JobApplicationID int }
func (JobApplicationStatusHistory) Created ¶
func (j JobApplicationStatusHistory) Created() time.Time
func (JobApplicationStatusHistory) RecordID ¶
func (j JobApplicationStatusHistory) RecordID() int
func (JobApplicationStatusHistory) Type ¶
func (j JobApplicationStatusHistory) Type() JobApplicationTimelineType
type JobApplicationTimelineEntry ¶
type JobApplicationTimelineEntry interface { RecordID() int Type() JobApplicationTimelineType Created() time.Time }
type JobApplicationTimelineType ¶
type JobApplicationTimelineType string
const ( JobApplicationTimelineTypeNote JobApplicationTimelineType = "note" JobApplicationTimelineTypeStatus JobApplicationTimelineType = "status" )
func ToJobApplicationTimelineType ¶
func ToJobApplicationTimelineType(val string) JobApplicationTimelineType
func (JobApplicationTimelineType) String ¶
func (t JobApplicationTimelineType) String() string
type NewTimelineEntry ¶
type NewTimelineEntry struct { Entry JobApplicationTimelineEntry SwapOOB string }
type PaginationOpts ¶
type SelectOption ¶
type SelectOpts ¶
Click to show internal directories.
Click to hide internal directories.