go-zero/core/lang/lang.go

12 lines
266 B
Go
Raw Normal View History

2020-07-26 17:09:05 +08:00
package lang
2021-02-20 18:21:23 +08:00
// Placeholder is a placeholder object that can be used globally.
2020-07-26 17:09:05 +08:00
var Placeholder PlaceholderType
type (
2022-01-01 19:24:35 +08:00
// AnyType can be used to hold any type.
AnyType = interface{}
2021-02-20 18:21:23 +08:00
// PlaceholderType represents a placeholder type.
2020-07-26 17:09:05 +08:00
PlaceholderType = struct{}
)