diff --git a/schema/errors.go b/schema/errors.go index 20bd5112dacddd13ee5d22e42aa1ed0da7498a35..78daa6ee9fac6a8d4498efdbeb6d10a8723f3d3d 100644 --- a/schema/errors.go +++ b/schema/errors.go @@ -2,6 +2,8 @@ package schema import ( "fmt" + + ld "gitlab.dms3.io/ld/go-ld-prime" ) // TODO: errors in this package remain somewhat slapdash. diff --git a/schema/typedNode.go b/schema/typedNode.go index eb5e2447757e34c0401334c47c0677766b420621..e0e2dea124c9902b192413a6c3a3b9bdf3f92d31 100644 --- a/schema/typedNode.go +++ b/schema/typedNode.go @@ -1,5 +1,9 @@ package schema +import ( + ld "gitlab.dms3.io/ld/go-ld-prime" +) + // schema.TypedNode is a superset of the ld.Node interface, and has additional behaviors. // // A schema.TypedNode can be inspected for its schema.Type and schema.TypeKind,