fix golint issues in core/lang (#492)

This commit is contained in:
Kevin Wan 2021-02-20 18:21:23 +08:00 committed by GitHub
parent af68caeaf6
commit 059027bc9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{}
)