toolbox

module
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0

README

toolbox

Golang toolbox list
  • array (only for golang 1.18 upper)
  • base58
  • config
  • database
  • errorhandler
  • firebase
  • grpc
  • interceptor
  • jwt
  • key
  • restful
  • services
  • shorten
  • shutdown
  • spannertool (part only for golang 1.18 upper)
  • stringtool
  • timestamp
  • zap
GCP Simulator
Cloud Storage : oittaa/gcp-storage-emulator
storage:
    image: oittaa/gcp-storage-emulator
    environment:
      PORT: 9023
    ports:
      - "9023:9023
    command: [ "start", "--in-memory", "--default-bucket=staging.project.appspot.com" ]
Cloud Spanner : gcr.io/cloud-spanner-emulator/emulator
spanner:
    image: gcr.io/cloud-spanner-emulator/emulator
    ports:
      - "9010:9010"
      - "9020:9020"
Cloud Pub/Sub : justdomepaul/gcp-pubsub-simulator
spanner:
    image: justdomepaul/gcp-pubsub-simulator
    ports:
      - "9000:9000"

Directories

Path Synopsis
database
example
interceptor
mock
go/testutil
Package testutil contains helper functions for writing tests.
Package testutil contains helper functions for writing tests.

Jump to

Keyboard shortcuts

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