GITLAB

Hermes / api-game

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • api-game_qianyi
  • util
  • uttype
  • type.go
  • 41077a2b   feat✨:公共库 Browse Code »
    王家文
    2024-04-15 17:57:03 +0800  
type.go 295 Bytes
Edit Raw Blame History
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package uttype

type UtInt interface {
	~int | ~int8 | ~int16 | ~int32 | ~int64
}

type UtUint interface {
	~uint | ~uint8 | ~uint16 | ~uint32
}

type UtFloat interface {
	~float32 | ~float64
}

type UtNumber interface {
	UtInt | UtUint | UtFloat
}

type UtBase interface {
	UtNumber | string
}