Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MyInt (0.27 sec)

  1. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, const AIsLowerA ideal-int
    pkg p1, const B0 = 2
    pkg p1, const B0 ideal-int
    pkg p1, const ConstChase2 = 11
    pkg p1, const ConstChase2 ideal-int
    pkg p1, const ConversionConst = 5
    pkg p1, const ConversionConst MyInt
    pkg p1, const FloatConst = 1.5  // 3/2
    pkg p1, const FloatConst ideal-float
    pkg p1, const StrConst = "foo"
    pkg p1, const StrConst ideal-string
    pkg p1, func Bar(int8, int16, int64)
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 24 16:04:17 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    must be itself, and <code>T</code> cannot be an interface.
    </p>
    
    <pre>
    type MyInt int
    
    interface {
    	~[]byte  // the underlying type of []byte is itself
    	~MyInt   // illegal: the underlying type of MyInt is not MyInt
    	~error   // illegal: error is an interface
    }
    </pre>
    
    <p>
    Union elements denote unions of type sets:
    </p>
    
    <pre>
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue May 06 19:12:15 UTC 2025
    - 286.2K bytes
    - Viewed (0)
Back to top