Documentation ¶
Overview ¶
Package grantsgov provides Go type definitions for the Grants.gov XML schema documented at http://apply.grants.gov/system/OpportunityDetail-V1.0.
Index ¶
- Constants
- type AwardCeilingType
- type AwardFloorType
- type CFDANumberType
- type CategoryExplanationType
- type CostSharingOrMatchingRequirementType
- type DescriptionType
- type EligibleApplicantTypes
- type EstimatedTotalProgramFundingType
- type ExpectedNumberOfAwardsType
- type FiscalYearType
- type FundingActivityCategoryTypes
- type FundingInstrumentTypes
- type FundingOpportunityNumberType
- type GrantorContactDescriptionType
- type Grants
- type MMDDYYYYType
- type Number20DigitsType
- type OpportunityCategoryTypes
- type OpportunityForecastDetail10
- type OpportunityForecastDetail_1_0
- type OpportunitySynopsisDetail10
- type OpportunitySynopsisDetail_1_0
- type String100Type
- type String102Type
- type String130Type
- type String20Type
- type String2500Type
- type String250Type
- type String4000Type
- type StringMin1Max255Type
- type StringWithoutNewLine255Type
Constants ¶
View Source
const TimeLayoutFiscalYearType = "2006"
View Source
const TimeLayoutMMDDYYYYType = "01022006"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryExplanationType ¶
type CategoryExplanationType string
May be no more than 255 items long
type CostSharingOrMatchingRequirementType ¶
type CostSharingOrMatchingRequirementType string
May be no more than 3 items long
type EstimatedTotalProgramFundingType ¶
type EstimatedTotalProgramFundingType string
Must match the pattern [0-9]*
type ExpectedNumberOfAwardsType ¶
type ExpectedNumberOfAwardsType string
Must match the pattern [0-9]*
type FundingActivityCategoryTypes ¶
type FundingActivityCategoryTypes string
May be no more than 3 items long
type FundingOpportunityNumberType ¶
type FundingOpportunityNumberType string
May be no more than 40 items long
type GrantorContactDescriptionType ¶
type GrantorContactDescriptionType string
May be no more than 300 items long
type MMDDYYYYType ¶
type MMDDYYYYType string
Must match the pattern (0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])\d\d\d\d
type OpportunityCategoryTypes ¶
type OpportunityCategoryTypes string
May be no more than 20 items long
type OpportunityForecastDetail10 ¶
type OpportunityForecastDetail10 struct { OpportunityID Number20DigitsType `xml:"OpportunityID"` OpportunityTitle StringWithoutNewLine255Type `xml:"OpportunityTitle,omitempty"` OpportunityNumber FundingOpportunityNumberType `xml:"OpportunityNumber,omitempty"` OpportunityCategory OpportunityCategoryTypes `xml:"OpportunityCategory,omitempty"` OpportunityCategoryExplanation CategoryExplanationType `xml:"OpportunityCategoryExplanation,omitempty"` FundingInstrumentType []FundingInstrumentTypes `xml:"FundingInstrumentType,omitempty"` CategoryOfFundingActivity []FundingActivityCategoryTypes `xml:"CategoryOfFundingActivity,omitempty"` CategoryExplanation String2500Type `xml:"CategoryExplanation,omitempty"` CFDANumbers []CFDANumberType `xml:"CFDANumbers,omitempty"` EligibleApplicants []EligibleApplicantTypes `xml:"EligibleApplicants,omitempty"` AdditionalInformationOnEligibility String4000Type `xml:"AdditionalInformationOnEligibility,omitempty"` AgencyCode StringMin1Max255Type `xml:"AgencyCode,omitempty"` AgencyName StringMin1Max255Type `xml:"AgencyName,omitempty"` PostDate MMDDYYYYType `xml:"PostDate,omitempty"` LastUpdatedDate MMDDYYYYType `xml:"LastUpdatedDate,omitempty"` EstimatedSynopsisPostDate MMDDYYYYType `xml:"EstimatedSynopsisPostDate,omitempty"` FiscalYear FiscalYearType `xml:"FiscalYear,omitempty"` EstimatedSynopsisCloseDate MMDDYYYYType `xml:"EstimatedSynopsisCloseDate,omitempty"` EstimatedSynopsisCloseDateExplanation String4000Type `xml:"EstimatedSynopsisCloseDateExplanation,omitempty"` EstimatedAwardDate MMDDYYYYType `xml:"EstimatedAwardDate,omitempty"` EstimatedProjectStartDate MMDDYYYYType `xml:"EstimatedProjectStartDate,omitempty"` AwardCeiling AwardCeilingType `xml:"AwardCeiling,omitempty"` AwardFloor AwardFloorType `xml:"AwardFloor,omitempty"` EstimatedTotalProgramFunding EstimatedTotalProgramFundingType `xml:"EstimatedTotalProgramFunding,omitempty"` ExpectedNumberOfAwards ExpectedNumberOfAwardsType `xml:"ExpectedNumberOfAwards,omitempty"` Description DescriptionType `xml:"Description,omitempty"` Version String20Type `xml:"Version,omitempty"` CostSharingOrMatchingRequirement CostSharingOrMatchingRequirementType `xml:"CostSharingOrMatchingRequirement,omitempty"` ArchiveDate MMDDYYYYType `xml:"ArchiveDate,omitempty"` AdditionalInformationURL String250Type `xml:"AdditionalInformationURL,omitempty"` AdditionalInformationText String250Type `xml:"AdditionalInformationText,omitempty"` GrantorContactEmail String130Type `xml:"GrantorContactEmail,omitempty"` GrantorContactEmailDescription String102Type `xml:"GrantorContactEmailDescription,omitempty"` GrantorContactName String2500Type `xml:"GrantorContactName,omitempty"` GrantorContactPhoneNumber String100Type `xml:"GrantorContactPhoneNumber,omitempty"` }
type OpportunityForecastDetail_1_0 ¶
type OpportunityForecastDetail_1_0 OpportunityForecastDetail10
type OpportunitySynopsisDetail10 ¶
type OpportunitySynopsisDetail10 struct { OpportunityID Number20DigitsType `xml:"OpportunityID"` OpportunityTitle StringWithoutNewLine255Type `xml:"OpportunityTitle,omitempty"` OpportunityNumber FundingOpportunityNumberType `xml:"OpportunityNumber,omitempty"` OpportunityCategory OpportunityCategoryTypes `xml:"OpportunityCategory,omitempty"` OpportunityCategoryExplanation CategoryExplanationType `xml:"OpportunityCategoryExplanation,omitempty"` FundingInstrumentType []FundingInstrumentTypes `xml:"FundingInstrumentType,omitempty"` CategoryOfFundingActivity []FundingActivityCategoryTypes `xml:"CategoryOfFundingActivity,omitempty"` CategoryExplanation String2500Type `xml:"CategoryExplanation,omitempty"` CFDANumbers []CFDANumberType `xml:"CFDANumbers,omitempty"` EligibleApplicants []EligibleApplicantTypes `xml:"EligibleApplicants,omitempty"` AdditionalInformationOnEligibility String4000Type `xml:"AdditionalInformationOnEligibility,omitempty"` AgencyCode StringMin1Max255Type `xml:"AgencyCode,omitempty"` AgencyName StringMin1Max255Type `xml:"AgencyName,omitempty"` PostDate MMDDYYYYType `xml:"PostDate,omitempty"` CloseDate MMDDYYYYType `xml:"CloseDate,omitempty"` CloseDateExplanation String4000Type `xml:"CloseDateExplanation,omitempty"` LastUpdatedDate MMDDYYYYType `xml:"LastUpdatedDate"` AwardCeiling AwardCeilingType `xml:"AwardCeiling,omitempty"` AwardFloor AwardFloorType `xml:"AwardFloor,omitempty"` EstimatedTotalProgramFunding EstimatedTotalProgramFundingType `xml:"EstimatedTotalProgramFunding,omitempty"` ExpectedNumberOfAwards ExpectedNumberOfAwardsType `xml:"ExpectedNumberOfAwards,omitempty"` Description DescriptionType `xml:"Description,omitempty"` Version String20Type `xml:"Version,omitempty"` CostSharingOrMatchingRequirement CostSharingOrMatchingRequirementType `xml:"CostSharingOrMatchingRequirement,omitempty"` ArchiveDate MMDDYYYYType `xml:"ArchiveDate,omitempty"` AdditionalInformationURL String250Type `xml:"AdditionalInformationURL,omitempty"` AdditionalInformationText String250Type `xml:"AdditionalInformationText,omitempty"` GrantorContactEmail String130Type `xml:"GrantorContactEmail,omitempty"` GrantorContactEmailDescription String102Type `xml:"GrantorContactEmailDescription,omitempty"` GrantorContactText String2500Type `xml:"GrantorContactText,omitempty"` }
type OpportunitySynopsisDetail_1_0 ¶
type OpportunitySynopsisDetail_1_0 OpportunitySynopsisDetail10
type StringWithoutNewLine255Type ¶
type StringWithoutNewLine255Type string
Must match the pattern [^\s].{0,254}
Click to show internal directories.
Click to hide internal directories.