15 lines
363 B
Go
15 lines
363 B
Go
// Copyright 2016 The OPA Authors. All rights reserved.
|
|
// Use of this source code is governed by an Apache2
|
|
// license that can be found in the LICENSE file.
|
|
|
|
package ast
|
|
|
|
import (
|
|
v1 "github.com/open-policy-agent/opa/v1/ast"
|
|
)
|
|
|
|
// TypeName returns a human readable name for the AST element type.
|
|
func TypeName(x interface{}) string {
|
|
return v1.TypeName(x)
|
|
}
|