github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/isAlias18.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 false // there are no type aliases before Go 1.9
    13  }
    14  
    15  const HasAlias = false