From cd4feed1b90e889dd4fe78ec557a2dbe5b9467af Mon Sep 17 00:00:00 2001 From: Daniele Briggi Date: Tue, 18 Jun 2024 12:08:40 +0200 Subject: [PATCH] fix(go): update repository references --- sdk/go/gettingstarted.mdx | 14 +++++++------- sdk/go/intro.mdx | 9 +++++++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/sdk/go/gettingstarted.mdx b/sdk/go/gettingstarted.mdx index a9091d3..be1ab25 100644 --- a/sdk/go/gettingstarted.mdx +++ b/sdk/go/gettingstarted.mdx @@ -1,21 +1,21 @@ --- title: GO SDK Getting Started -description: Here's the how gettting started to use the SQLite Cloud Client SDK in your Go code. +description: Here's the how gettting started to use the SQLite Cloud in your Go code. --- -## Use the SQLite Cloud Client SDK in your Go code +## Use the SQLite Cloud SDK in your Go code 1. Import the package in your Go source code: ```go - import sqlitecloud "github.com/sqlitecloud/go-sdk" + import sqlitecloud "github.com/sqlitecloud/sqlitecloud-go" ``` 2. Download the package, and run the [`go mod tidy` command](https://go.dev/ref/mod#go-mod-tidy) to synchronize your module's dependencies: - ``` + ```bash $ go mod tidy - go: downloading github.com/sqlitecloud/go-sdk v1.0.0 + go: downloading github.com/sqlitecloud/sqlitecloud-go v1.0.0 ``` 3. Connect to a SQLite Cloud database with a valid [connection string](#get-a-connection-string): @@ -39,7 +39,7 @@ import ( "fmt" "strings" - sqlitecloud "github.com/sqlitecloud/go-sdk" + sqlitecloud "github.com/sqlitecloud/sqlitecloud-go" ) const connectionString = "sqlitecloud://admin:password@host.sqlite.cloud:8860/dbname.sqlite" @@ -81,5 +81,5 @@ To get a valid connection string, follow these instructions: ## API Documentation -The complete documentation of the sqlitecloud/go-sdk library is available at: [https://pkg.go.dev/github.com/sqlitecloud/go-sdk](https://pkg.go.dev/github.com/sqlitecloud/go-sdk) +The complete documentation is available at: [https://pkg.go.dev/github.com/sqlitecloud/sqlitecloud-go](https://pkg.go.dev/github.com/sqlitecloud/sqlitecloud-go) diff --git a/sdk/go/intro.mdx b/sdk/go/intro.mdx index 40eacd0..10ba89a 100644 --- a/sdk/go/intro.mdx +++ b/sdk/go/intro.mdx @@ -1,7 +1,12 @@ --- title: GO SDK Introduction -description: The SQLite Cloud Client SDK for Go is the Go Programming Language application programmer's interface to SQLite Cloud. +description: SQLite Cloud for Go is a powerful package that allows you to interact with the SQLite Cloud database seamlessly. --- -The SQLite Cloud Client SDK for Go (sqlitecloud/go-sdk) is the Go Programming Language application programmer's interface to [SQLite Cloud](https://sqlitecloud.io/). It is a set of library functions that allow client programs to pass queries and SQL commands to the SQLite Cloud backend server and to receive the results of these queries. In addition to the standard SQLite statements, several other [commands](/docs/commands) are supported. +[![Test and QA](https://github.com/sqlitecloud/sqlitecloud-go/actions/workflows/testing.yaml/badge.svg?branch=main)](https://github.com/sqlitecloud/sqlitecloud-go/actions/workflows/testing.yaml) +[![codecov](https://codecov.io/gh/sqlitecloud/sqlitecloud-go/graph/badge.svg?token=5MAG3G4X01)](https://codecov.io/gh/sqlitecloud/sqlitecloud-go) +[![GitHub Tag](https://img.shields.io/github/v/tag/sqlitecloud/sqlitecloud-go?label=version&link=https%3A%2F%2Fpkg.go.dev%2Fgithub.com%2Fsqlitecloud%2Fsqlitecloud-go)](https://pkg.go.dev/github.com/sqlitecloud/sqlitecloud-go) +[![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/sqlitecloud/sqlitecloud-go?link=https%3A%2F%2Fpkg.go.dev%2Fgithub.com%2Fsqlitecloud%2Fsqlitecloud-go)](https://pkg.go.dev/github.com/sqlitecloud/sqlitecloud-go) + +[SQLite Cloud](https://sqlitecloud.io) for Go is a powerful package that allows you to interact with the SQLite Cloud database seamlessly. It provides methods for various database operations. This package is designed to simplify database operations in Go applications, making it easier than ever to work with SQLite Cloud. In addition to the standard SQLite statements, several other [commands](https://docs.sqlitecloud.io/docs/commands) are supported.