career

package
v0.0.0-...-e1a70cd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OrderAsc  = "ASC"
	OrderDesc = "DESC"
	OrderNone = ""
)

Functions

This section is empty.

Types

type Aggregate

type Aggregate struct {
	StartDate        string `json:"start_date"`
	EndDate          string `json:"end_date"`
	Grade            string `json:"grade"`
	Title            string `json:"title"`
	OrganizationNode string `json:"organization_node"`
}

type Service

type Service struct {
	ConfigService  *config.Service
	GradingService *grading.Service
	TitlingService *titling.Service
	OrgClient      *liborgc.Client
}

func NewService

func NewService(
	cfg *config.Service,
	gs *grading.Service,
	ts *titling.Service,
) *Service

func (*Service) RetrieveByEhidOrderByStartDateDesc

func (s *Service) RetrieveByEhidOrderByStartDateDesc(ehid string) ([]Aggregate, error)

func (*Service) RetrieveCurrentByEhid

func (s *Service) RetrieveCurrentByEhid(ehid string) (*Aggregate, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL