mirror of
https://github.com/zeromicro/go-zero.git
synced 2025-02-02 16:28:39 +08:00
fix golint issues in core/lang (#492)
This commit is contained in:
parent
af68caeaf6
commit
059027bc9d
@ -1,8 +1,11 @@
|
||||
package lang
|
||||
|
||||
// Placeholder is a placeholder object that can be used globally.
|
||||
var Placeholder PlaceholderType
|
||||
|
||||
type (
|
||||
GenericType = interface{}
|
||||
// GenericType can be used to hold any type.
|
||||
GenericType = interface{}
|
||||
// PlaceholderType represents a placeholder type.
|
||||
PlaceholderType = struct{}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user