mirror of
https://github.com/golang/go
synced 2024-11-23 08:40:08 -07:00
encoding/asn1: use nil instead of null in docs
This commit is contained in:
parent
730f556bec
commit
c668b6e4ad
@ -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 error.
|
||||
// is nil 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,
|
||||
|
Loading…
Reference in New Issue
Block a user