-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- searches for allegy by the provided name Signed-off-by: Kathurima Kimathi <kathurimakimathi415@gmail.com>
- Loading branch information
1 parent
34543da
commit bd543e8
Showing
16 changed files
with
589 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,27 @@ | ||
package domain | ||
|
||
import "time" | ||
|
||
// Concept models a concept type from OpenConceptLab | ||
type Concept struct { | ||
ConceptClass string `mapstructure:"concept_class" json:"concept_class"` | ||
DataType string `mapstructure:"datatype" json:"datatype"` | ||
DisplayLocale string `mapstructure:"display_locale" json:"display_locale"` | ||
DisplayName string `mapstructure:"display_name" json:"display_name"` | ||
ExternalID string `mapstructure:"external_id" json:"external_id"` | ||
ID string `mapstructure:"id" json:"id"` | ||
IsLatestVersion bool `mapstructure:"is_latest_version" json:"is_latest_version"` | ||
Locale *string `mapstructure:"locale" json:"locale"` | ||
Owner string `mapstructure:"owner" json:"owner"` | ||
OwnerType string `mapstructure:"owner_type" json:"owner_type"` | ||
OwnerURL string `mapstructure:"owner_url" json:"owner_url"` | ||
Retired bool `mapstructure:"retired" json:"retired"` | ||
Source string `mapstructure:"source" json:"source"` | ||
Type string `mapstructure:"type" json:"type"` | ||
UpdateComment string `mapstructure:"update_comment" json:"update_comment"` | ||
URL string `mapstructure:"url" json:"url"` | ||
UUID string `mapstructure:"uuid" json:"uuid"` | ||
Version string `mapstructure:"version" json:"version"` | ||
VersionCreatedBy string `mapstructure:"version_created_by" json:"version_created_by"` | ||
VersionCreatedOn *time.Time `mapstructure:"version_created_on" json:"version_created_on"` | ||
VersionURL string `mapstructure:"version_url" json:"version_url"` | ||
VersionsURL string `mapstructure:"versions_url" json:"versions_url"` | ||
ConceptClass string `mapstructure:"concept_class" json:"concept_class"` | ||
DataType string `mapstructure:"datatype" json:"datatype"` | ||
DisplayLocale string `mapstructure:"display_locale" json:"display_locale"` | ||
DisplayName string `mapstructure:"display_name" json:"display_name"` | ||
ExternalID string `mapstructure:"external_id" json:"external_id"` | ||
ID string `mapstructure:"id" json:"id"` | ||
IsLatestVersion bool `mapstructure:"is_latest_version" json:"is_latest_version"` | ||
Locale *string `mapstructure:"locale" json:"locale"` | ||
Owner string `mapstructure:"owner" json:"owner"` | ||
OwnerType string `mapstructure:"owner_type" json:"owner_type"` | ||
OwnerURL string `mapstructure:"owner_url" json:"owner_url"` | ||
Retired bool `mapstructure:"retired" json:"retired"` | ||
Source string `mapstructure:"source" json:"source"` | ||
Type string `mapstructure:"type" json:"type"` | ||
UpdateComment string `mapstructure:"update_comment" json:"update_comment"` | ||
URL string `mapstructure:"url" json:"url"` | ||
UUID string `mapstructure:"uuid" json:"uuid"` | ||
Version string `mapstructure:"version" json:"version"` | ||
VersionCreatedBy string `mapstructure:"version_created_by" json:"version_created_by"` | ||
VersionCreatedOn string `mapstructure:"version_created_on" json:"version_created_on"` | ||
VersionURL string `mapstructure:"version_url" json:"version_url"` | ||
VersionsURL string `mapstructure:"versions_url" json:"versions_url"` | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.