Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for DisallowUnknownFields (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Oct 23 15:10:12 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top