go-zero/core/lang/lang.go

12 lines
274 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 (
2021-02-20 18:21:23 +08:00
// GenericType can be used to hold any type.
GenericType = interface{}
// PlaceholderType represents a placeholder type.
2020-07-26 17:09:05 +08:00
PlaceholderType = struct{}
)