mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-04 00:06:22 +00:00
refactor: change import paths for DeviceContext and GravatarAvatar components fix: adjust login form API call and update UI text for clarity feat: add post API for listing posts with pagination and filtering options feat: implement BlogCard component for displaying blog posts with enhanced UI feat: create Badge component for consistent styling of labels and indicators refactor: reintroduce DeviceContext with improved functionality for theme and language management feat: define Label and Post models for better type safety and structure
10 lines
264 B
Go
10 lines
264 B
Go
package dto
|
|
|
|
type LabelDto struct {
|
|
ID uint `json:"id"` // 标签ID
|
|
Key string `json:"key"`
|
|
Value string `json:"value"`
|
|
Color string `json:"color"`
|
|
TailwindClassName string `json:"tailwind_class_name"`
|
|
}
|