using-clickhouse

command
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

README

To run the example follow the steps below:

CLICKHOUSE Setup

Docker command

docker run --rm -e CLICKHOUSE_DB=users -e CLICKHOUSE_USER=root -e CLICKHOUSE_PASSWORD=password -e CLICKHOUSE_HTTP_PORT=8123 -p 9001:9000/tcp  -p 8080:8123/tcp clickhouse/clickhouse-server

Run

Now run the example on path /zopsmart/gofr/examples/using-clickhouse by go run main.go

Docker Build

To Build a docker image, follow the below steps:

On non linux machines :

  1. GOOS=linux go build main.go This will build a go binary
  2. docker build -t using-clickhouse:$(date +%s) .

On linux machines(Ubuntu/Mac):

  1. go build main.go This will build a go binary
  2. docker build -t using-clickhouse:$(date +%s) .

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This is auto-generated file using 'gofr migrate' tool.
This is auto-generated file using 'gofr migrate' tool.
Package store is a generated GoMock package.
Package store is a generated GoMock package.

Jump to

Keyboard shortcuts

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