Jelajahi Sumber

fix golint issues in core/lang (#492)

Kevin Wan 3 tahun lalu
induk
melakukan
059027bc9d
1 mengubah file dengan 4 tambahan dan 1 penghapusan
  1. 4 1
      core/lang/lang.go

+ 4 - 1
core/lang/lang.go

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