tag.go 209 B

12345678910111213
  1. package models
  2. type Tag struct {
  3. ID int
  4. Tag string
  5. URL string
  6. }
  7. type TagForm struct {
  8. ID int
  9. Tag string `form:"tag" validate:"required,max=255"`
  10. URL string `form:"url" validate:"required,max=255"`
  11. }