GITLAB

Hermes / api-game

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • api-game_qianyi
  • util
  • ztype
  • type.go
  • 74e1d4d3   feat✨:配置管理 Browse Code »
    王家文
    2024-05-27 12:18:10 +0800  
type.go 340 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 22 23 24 25
package ztype

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

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

type UtFloat interface {
	~float32 | ~float64
}

type UtInteger interface {
	UtInt | UtUint
}

type UtNumber interface {
	UtInt | UtUint | UtFloat
}

type UtBase interface {
	UtNumber | string
}