diff --git a/sample/SearchIndexOperation.go b/sample/SearchIndexOperation.go index 156d432..6713172 100644 --- a/sample/SearchIndexOperation.go +++ b/sample/SearchIndexOperation.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/aliyun/aliyun-tablestore-go-sdk/tablestore" "github.com/aliyun/aliyun-tablestore-go-sdk/tablestore/search" - "github.com/gin-gonic/gin/json" + "encoding/json" "github.com/golang/protobuf/proto" ) @@ -520,4 +520,4 @@ func BoolQuery(client *tablestore.TableStoreClient, tableName string, indexName fmt.Println("TotalCount: ", searchResponse.TotalCount) // 匹配的总行数 fmt.Println("RowCount: ", len(searchResponse.Rows)) } -} \ No newline at end of file +}