We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0cb0562 + fccc4dc commit 7812141Copy full SHA for 7812141
struct.go
@@ -49,7 +49,7 @@ var emptyStruct Struct
49
50
// NewStruct analyzes type information in structValue
51
// and creates a new Struct with all structValue fields.
52
-// If structValue is not a struct, NewStruct returns a dummy Sturct.
+// If structValue is not a struct, NewStruct returns a dummy Struct.
53
func NewStruct(structValue interface{}) *Struct {
54
t := reflect.TypeOf(structValue)
55
t = dereferencedType(t)
0 commit comments