Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementBlogReads ¶
func UpdateBlogsMeta ¶
func UpdateBlogsMeta() error
Types ¶
type Blog ¶
type Blog struct { Title string `json:"title"` Description string `json:"description"` Content string `json:"-"` PublicId string `json:"public_id"` VisitTimes uint `json:"visited_times"` WrittenAt int64 `json:"written_at"` }
func GetBlogByPublicId ¶
type ContactLink ¶
type ContactLink struct { Title string `json:"title"` Link string `json:"link"` Target string `json:"target"` IconPath string `json:"icon_path"` }
func GetContactLinks ¶
func GetContactLinks() ([]ContactLink, error)
type Info ¶
type MutexWrapper ¶
type MutexWrapper[T any] struct { // contains filtered or unexported fields }
func (*MutexWrapper[T]) Get ¶
func (w *MutexWrapper[T]) Get() T
func (*MutexWrapper[T]) Set ¶
func (w *MutexWrapper[T]) Set(data T)
type ProjectGroup ¶
type ProjectGroup struct { Title string `json:"title"` Description string `json:"description"` Order uint `json:"order"` Projects []Project `json:"projects"` }
func GetProjectGroups ¶
func GetProjectGroups() ([]ProjectGroup, error)
type VolunteeringExperience ¶
type VolunteeringExperience experience
func GetVolunteeringXP ¶
func GetVolunteeringXP() ([]VolunteeringExperience, error)
type WorkExperience ¶
type WorkExperience experience
func GetWorkXP ¶
func GetWorkXP() ([]WorkExperience, error)
Click to show internal directories.
Click to hide internal directories.