blockfrost-go

(★ 25)

Golang SDK for Blockfrost.io

File Explorer

  • .gitignore
  • api_account.go
  • api_account_test.go
  • api_addresses.go
  • api_addresses_test.go
  • api_assets.go
  • api_assets_test.go
  • api_block.go
  • api_block_test.go
  • api_epochs.go
  • api_epochs_test.go
  • api_governance.go
  • api_governance_test.go
  • api_health.go
  • api_health_test.go
  • api_ledger.go
  • api_ledger_test.go
  • api_mempool.go
  • api_mempool_test.go
  • api_metadata.go
  • api_metadata_test.go
  • api_metrics.go
  • api_metrics_test.go
  • api_network.go
  • api_network_test.go
  • api_nutlink.go
  • api_nutlink_test.go
  • api_pool.go
  • api_pool_test.go
  • api_script.go
  • api_script_test.go
  • api_transactions.go
  • api_transactions_test.go
  • client.go
  • client_test.go
  • doc.go
  • go.mod
  • go.sum
  • ipfs.go
  • ipfs_test.go
  • LICENSE
  • Makefile
  • README.md
  • types.go
  • util.go
  • util_test.go
  • webhook.go
  • webhook_test.go

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

fmt

View Details ▼

Reformat a text file by joining its paragraphs and limiting the line width to a number of characters (75 by default).

fmt {{path/to/file}}

Reformat a file:

fmt {{[-w|--width]}} {{n}} {{path/to/file}}

Reformat a file producing output lines of (at most) `n` characters:

fmt {{[-s|--split-only]}} {{path/to/file}}

Reformat a file without joining lines shorter than the given width together:

🔍

go get

View Details ▼

Add a dependency package, or download packages in legacy GOPATH mode.
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go get {{example.com/pkg}}

Add a specified package to `go.mod` in module-mode or install the package in GOPATH-mode:

go get {{example.com/pkg}}@{{v1.2.3}}

Modify the package with a given version in module-aware mode:

go get {{example.com/pkg}}@{{none}}

Remove a specified package:

🔍

go test

View Details ▼

Test Go packages (files have to end with `_test.go`).
Note: `./...` is a Go package pattern understood by Go tooling. It matches the current package and all packages recursively under the current directory.

go test

Test the package found in the current directory:

go test -v

[v]erbosely test the package in the current directory:

go test -v ./...

Test the packages in the current directory and all subdirectories:

# Project Badges

// repository documentation