Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redesign the directory layout #23

Open
howjmay opened this issue Nov 27, 2020 · 2 comments
Open

Redesign the directory layout #23

howjmay opened this issue Nov 27, 2020 · 2 comments

Comments

@howjmay
Copy link
Contributor

howjmay commented Nov 27, 2020

Golang has standard project-layout which can be used as a reference for our project directory layout
https://github.com/golang-standards/project-layout

├── configs/
├── docs/
├── cmd/
│ ├── contract-deployer/
│ │ └── main.go
│ └── dropkit-adapter/
│ │ └── main.go
├── internal/
│ ├── router/
│ │ ├── routers.go
│ │ └── middlewares.go
│ ├── services/
│ │ ├── db/
│ │ ├── health/
│ │ ├── payment/
│ │ ├── role/
│ │ └── user/
│ ├── contract/
│ │ ├── contracts/
│ │ │ ├── auditLog.sol
│ │ │ └── authRole.sol
│ │ ├── migrations/
│ │ │ ├── 1_initial_migration.js
│ │ │ └── 2_deploy_contracts.js
│ │ ├── interface/
│ │ └── tests/
│ ├── crypto/
│ └── parser/
└── pkg/
  ├── logger/
  └── utils/

@howjmay howjmay added wip Work In Progress and removed wip Work In Progress labels Nov 27, 2020
@howjmay
Copy link
Contributor Author

howjmay commented Nov 27, 2020

@jserv @junwei0117 any suggestion?

@jserv
Copy link
Contributor

jserv commented Nov 30, 2020

Why did you list contract --> contracts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants