1
0
mirror of https://github.com/golang/go synced 2024-11-27 04:52:17 -07:00

encoding/asn1: remove mention of unexported identifier from docs

This commit is contained in:
KimMachineGun 2020-09-29 09:17:39 +09:00
parent 3ba784409a
commit 730f556bec

View File

@ -1036,7 +1036,7 @@ func setDefaultValue(v reflect.Value, params fieldParameters) (ok bool) {
// and uses the reflect package to fill in an arbitrary value pointed at by val.
// Because Unmarshal uses the reflect package, the structs
// being written to must use upper case field names. If val
// is null or not a pointer, Unmarshal returns an invalidUnmarshalError.
// is null or not a pointer, Unmarshal returns an error.
//
// After parsing b, any bytes that were leftover and not used to fill
// val will be returned in rest. When parsing a SEQUENCE into a struct,