From 7d3c86e48df087675422e208f5e037ec9fe84398 Mon Sep 17 00:00:00 2001 From: web3-bot Date: Tue, 22 Aug 2023 17:30:52 +0000 Subject: [PATCH] fix: stop using the deprecated io/ioutil package --- ir/predicate.go | 3 ++- protocol/pb/smrecord.pb.go | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ir/predicate.go b/ir/predicate.go index 8d4f609..11bc6cd 100644 --- a/ir/predicate.go +++ b/ir/predicate.go @@ -8,7 +8,8 @@ import ( ) // Predicate models a function invocation with named and positional arguments, corresponding to the syntax: -// tag(a1, a2, ...; n1=v1, n2=v2, ...) +// +// tag(a1, a2, ...; n1=v1, n2=v2, ...) type Predicate struct { Tag string Positional Nodes diff --git a/protocol/pb/smrecord.pb.go b/protocol/pb/smrecord.pb.go index 47b3c74..b1b467c 100644 --- a/protocol/pb/smrecord.pb.go +++ b/protocol/pb/smrecord.pb.go @@ -5,10 +5,11 @@ package smrecord_pb import ( fmt "fmt" - proto "github.com/gogo/protobuf/proto" io "io" math "math" math_bits "math/bits" + + proto "github.com/gogo/protobuf/proto" ) // Reference imports to suppress errors if they are not otherwise used.