Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Education = Type("Education", func() {
Attribute("institution", String, "Name of the institution")
Attribute("major", String, "Major name")
Required("institution", "major")
})
View Source
var Experience = Type("Experience", func() {
Attribute("company", String, "Name of the company")
Attribute("role", String, "Name of the role in the company")
Attribute("duration", Int, "Duration (in years) in the company")
Required("company", "role", "duration")
})
View Source
var Resume = Type("Resume", func() {
Attribute("name", String, "Name in the resume")
Attribute("experience", ArrayOf(Experience), "Experience section in the resume")
Attribute("education", ArrayOf(Education), "Education section in the resume")
Required("name")
})
View Source
var StoredResume = ResultType("application/vnd.goa.resume", func() {
TypeName("StoredResume")
Attributes(func() {
Extend(Resume)
Attribute("id", Int, "ID of the resume")
Attribute("created_at", String, "Time when resume was created")
Required("id", "name", "experience", "education", "created_at")
})
View("default", func() {
Attribute("id")
Attribute("name")
Attribute("experience")
Attribute("education")
Attribute("created_at")
})
})
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.