Debian Codegraph @

go/internal/gccgoimporter/newInterface11.go

raw symbols SCIP
1 // Copyright 2018 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 //go:build go1.11
6
7 package gccgoimporter
8
9 import "go/types"
10
11 func newInterface(methods []*types.Func, embeddeds []types.Type) *types.Interface {
12 return types.NewInterfaceType(methods, embeddeds)
13 }