File: count.go

package info (click to toggle)
golang-github-mimuret-golang-iij-dpf 0.9.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,340 kB
  • sloc: makefile: 55
file content (8 lines) | stat: -rw-r--r-- 169 bytes parent folder | download
1
2
3
4
5
6
7
8
package types

type Count struct {
	Count int32 `read:"count"`
}

func (c *Count) SetCount(v int32) { c.Count = v }
func (c *Count) GetCount() int32  { return c.Count }