Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsAlias (0.3 sec)

  1. api/go1.9.txt

    pkg encoding/csv, type Reader struct, ReuseRecord bool
    pkg encoding/json, func Valid([]uint8) bool
    pkg go/ast, type TypeSpec struct, Assign token.Pos
    pkg go/types, func SizesFor(string, string) Sizes
    pkg go/types, method (*TypeName) IsAlias() bool
    pkg hash/fnv, func New128() hash.Hash
    pkg hash/fnv, func New128a() hash.Hash
    pkg html/template, const ErrPredefinedEscaper = 11
    pkg html/template, const ErrPredefinedEscaper ErrorCode
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 04 20:20:20 GMT 2021
    - 10.7K bytes
    - Viewed (0)
  2. src/cmd/api/main_test.go

    	}
    }
    
    func (w *Walker) emitType(obj *types.TypeName) {
    	name := obj.Name()
    	if w.isDeprecated(obj) {
    		w.emitf("type %s //deprecated", name)
    	}
    	typ := obj.Type()
    	if obj.IsAlias() {
    		w.emitf("type %s = %s", name, w.typeString(typ))
    		return
    	}
    	if tparams := obj.Type().(*types.Named).TypeParams(); tparams != nil {
    		var buf bytes.Buffer
    		buf.WriteString(name)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top