Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmturner committed Jan 28, 2017
1 parent 7e4ba43 commit 7ff1ef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion marshal.go
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ func makeField(v reflect.Value, params fieldParameters) (e encoder, err error) {
// omitempty: causes empty slices to be skipped
// printable: causes strings to be marshaled as ASN.1, PrintableString strings.
// utf8: causes strings to be marshaled as ASN.1, UTF8 strings
// generalstring: causes strings to be marshaled as ASN.1, GeneralString strings constrained to the IA5 characters.
// generalstring: causes strings to be marshaled as ASN.1, GeneralString strings constrained to the IA5 characters. This was introduced to support KerberosString (RFC 4120; 5.2.1)
func Marshal(val interface{}) ([]byte, error) {
e, err := makeField(reflect.ValueOf(val), fieldParameters{})
if err != nil {
Expand Down

0 comments on commit 7ff1ef5

Please sign in to comment.