d1

command module
v0.0.0-...-9ecdc5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2024 License: MIT Imports: 5 Imported by: 0

README

D1 sample

Usage

$ CLOUDFLARE_API_TOKEN=[YOUR-API-TOKEN] CLOUDFLARE_D1_DATABASE_ID=[YOUR-D1-DATABASE-ID] CLOUDFLARE_D1_TABLE_NAME=[YOUR-D1-TABLE-NAME] CLOUDFLARE_ACCOUNT_ID=[YOUR-ACCOUNT-ID] go run main.go

Prerequisite

Before executing this example code, you need to create your database and table in Cloudflare D1. You also must create your API token to access the API.

Author

Shintaro Kaneko kaneshin0120@gmail.com

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL