Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions sdk/go/gettingstarted.mdx
Original file line number Diff line number Diff line change
@@ -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):
Expand All @@ -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"
Expand Down Expand Up @@ -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)

9 changes: 7 additions & 2 deletions sdk/go/intro.mdx
Original file line number Diff line number Diff line change
@@ -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.