package
Version:
v0.0.0-...-a1e5281
Opens a new window with list of versions in this module.
Published: Aug 19, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type ApiError struct {
Code int `json:"errCode"`
Message string `json:"errMessage"`
}
type Field map[string]interface{}
type Poll struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Category *string `json:"category,omitempty"`
Fields Fields `json:"fields,omitempty"`
CreatedBy *string `json:"created_by,omitempty"`
LastUpdated *time.Time `json:"last_updated,omitempty"`
}
type PollFilters struct {
UserIds *string `json:"userId,omitempty"`
Category *string `json:"category,omitempty"`
}
type User struct {
Id *string `json:"id,omitempty"`
Username *string `json:"username,omitempty"`
Email *string `json:"email,omitempty"`
Password *string `json:"password,omitempty"`
LastUpdated *time.Time `json:"last_updated,omitempty"`
}
type Vote struct {
PollId *string `json:"poll_id,omitempty"`
UserId *string `json:"user_id,omitempty"`
Entry Fields `json:"entry,omitempty"`
LastUpdated *time.Time `json:"last_updated,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.