github.com/jgarto/itcv@v0.0.0-20180826224514-4eea09c1aa0d/_vendor/src/golang.org/x/tools/cmd/godex/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 main 8 9 import "go/types" 10 11 func isAlias(obj *types.TypeName) bool { 12 return obj.IsAlias() 13 }