MCPcopy Create free account
hub / github.com/1Password/for-open-source / Application

Struct Application

script/application.go:41–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type Application struct {
42 validator Validator `json:"-"`
43 sections map[string]string `json:"-"`
44 Problems []error `json:"-"`
45
46 Account string `json:"account"`
47 Project Project `json:"project"`
48 Applicant Applicant `json:"applicant"`
49 CanContact bool `json:"can_contact"`
50 ApproverId int `json:"approver_id,omitempty"`
51 ApproverUsername string `json:"-"`
52 IssueNumber int `json:"issue_number"`
53 CreatedAt time.Time `json:"created_at"`
54}
55
56func (a *Application) Parse(issue *github.Issue) {
57 a.validator = Validator{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected