Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DisallowUnknownFields (0.16 sec)

  1. cmd/postpolicyform.go

    	// Convert po into interfaces and
    	// perform strict type conversion using reflection.
    	var rawPolicy struct {
    		Expiration string `json:"expiration"`
    		Conditions []any  `json:"conditions"`
    	}
    
    	d.DisallowUnknownFields()
    	if err := d.Decode(&rawPolicy); err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	parsedPolicy := PostPolicyForm{}
    
    	// Parse expiry time.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Oct 23 15:10:12 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. api/go1.10.txt

    pkg encoding/csv, type ParseError struct, StartLine int
    pkg encoding/hex, func NewDecoder(io.Reader) io.Reader
    pkg encoding/hex, func NewEncoder(io.Writer) io.Writer
    pkg encoding/json, method (*Decoder) DisallowUnknownFields()
    pkg encoding/xml, func NewTokenDecoder(TokenReader) *Decoder
    pkg encoding/xml, type TokenReader interface { Token }
    pkg encoding/xml, type TokenReader interface, Token() (Token, error)
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top