address-go

command module
v0.0.0-...-8c6f8b2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

address-go

an address api based on golang

Get Start

if you want to run this project, these software are required

  1. Docker

if you use the Mac or Windows, please install Docker Desktop; if you use the Linux, please download docker-compose separately. 2. Golang

Install

git clone https://github.com/damingerdai/address-go.git

Init

Create Volume
docker volume create --name=address-go
Create Network
docker network create address-networks
Docker Compose

run for mysql

docker compose up mysql
Init data

in data folder, exec these sql files to init data

Run

make run

Bazel

update repositories

bazel run //:gazelle
bazel run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies

build

bazel build //cmd/address:address

Data

i use this data source

bazel

 bazel run //:gazelle
 bazel run //:gazelle -- update-repos -from_file=go.mod
 bazel build //cmd/address:address

Roadmap

2019.12.30

  1. use golang-standards to refactor the project layout [x]

Owner

@大明二代

License

MIT © 大明二代

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
internal
dao
pkg
api

Jump to

Keyboard shortcuts

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