gopkg.in/alecthomas/gometalinter.v3@v3.0.0/_linters/src/golang.org/x/tools/go/gcimporter15/isAlias19.go (about)

     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  // +build go1.9
     6  
     7  package gcimporter
     8  
     9  import "go/types"
    10  
    11  func isAlias(obj *types.TypeName) bool {
    12  	return obj.IsAlias()
    13  }