.gitignore added
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.1.1-0.20210319172145-bda8f5cee399 / go / internal / gccgoimporter / newInterface11.go
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 // +build go1.11
7
8 package gccgoimporter
9
10 import "go/types"
11
12 func newInterface(methods []*types.Func, embeddeds []types.Type) *types.Interface {
13         return types.NewInterfaceType(methods, embeddeds)
14 }