Debian Codegraph @

test/alias3.dir/a.go

raw
1 // Copyright 2017 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package a
6
7 import "go/build"
8
9 type (
10 Float64 = float64
11 Rune = rune
12 )
13
14 type (
15 Int int
16 IntAlias = Int
17 IntAlias2 = IntAlias
18 S struct {
19 Int
20 IntAlias
21 IntAlias2
22 }
23 )
24
25 type (
26 Context = build.Context
27 )
28
29 type (
30 I1 interface {
31 M1(IntAlias2) Float64
32 M2() Context
33 }
34
35 I2 = interface {
36 M1(Int) float64
37 M2() build.Context
38 }
39 )
40
41 var i1 I1
42 var i2 I2 = i1