File: sub_message.go

package info (click to toggle)
golang-github-francoispqt-gojay 1.2.13-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 1,456 kB
  • sloc: makefile: 86
file content (10 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
package annotated_struct

import "time"

type SubMessage struct {
	Id          int        `json:"id"`
	Description string     `json:"description"`
	StartTime   time.Time  `json:"startDate" timeFormat:"yyyy-MM-dd HH:mm:ss"`
	EndTime     *time.Time `json:"endDate" timeLayout:"2006-01-02 15:04:05"`
}