Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mapError (0.14 sec)

  1. src/internal/reflectlite/set_test.go

    	{new(mapError), new(error), true},
    	{new(*mapError), new(error), true},
    }
    
    type notAnExpr struct{}
    
    func (notAnExpr) Pos() token.Pos { return token.NoPos }
    func (notAnExpr) End() token.Pos { return token.NoPos }
    func (notAnExpr) exprNode()      {}
    
    type notASTExpr interface {
    	Pos() token.Pos
    	End() token.Pos
    	exprNode()
    }
    
    type mapError map[string]string
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  2. src/text/template/option.go

    type missingKeyAction int
    
    const (
    	mapInvalid   missingKeyAction = iota // Return an invalid reflect.Value.
    	mapZeroValue                         // Return the zero value for the map element.
    	mapError                             // Error out
    )
    
    type option struct {
    	missingKey missingKeyAction
    }
    
    // Option sets options for the template. Options are described by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 1.9K bytes
    - Viewed (0)
Back to top