Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/postpolicyform.go

    	// perform strict type conversion using reflection.
    	var rawPolicy struct {
    		Expiration string        `json:"expiration"`
    		Conditions []interface{} `json:"conditions"`
    	}
    
    	d.DisallowUnknownFields()
    	if err := d.Decode(&rawPolicy); err != nil {
    		return PostPolicyForm{}, err
    	}
    
    	parsedPolicy := PostPolicyForm{}
    
    	// Parse expiry time.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12.4K 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 Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 06 05:00:01 UTC 2018
    - 30.1K bytes
    - Viewed (0)
Back to top