Skip to content

Commit f7e3b38

Browse files
committed
Migrate dev content to CONTRIBUTING.md
1 parent d5bf933 commit f7e3b38

File tree

2 files changed

+31
-25
lines changed

2 files changed

+31
-25
lines changed

CONTRIBUTING.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Contribution guidelines
2+
3+
Welcome to the Namigo project! We appreciate your interest in contributing.
4+
This document outlines the process for contributing to the project, including
5+
guidelines for code structure, commands, and more. Please follow these guidelines
6+
to ensure a smooth and efficient collaboration.
7+
8+
## Commands
9+
10+
```shell
11+
# Run build
12+
bash scripts/build.sh
13+
14+
# Run tests
15+
bash scripts/test.sh
16+
17+
# Run linters
18+
bash scripts/lint.sh
19+
```
20+
21+
## Code structure
22+
23+
This codebase closely resembles [golang-standards/project-layout].
24+
25+
The TLDR is:
26+
27+
- `cmd` has entry points
28+
- `pkg` has business logic
29+
- `internal` has helpers
30+
31+
[golang-standards/project-layout]: https://github.com/golang-standards/project-layout

README.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,6 @@ is your go-to naming pal.
3131

3232
## Getting started
3333

34-
```shell
35-
# Run build
36-
bash scripts/build.sh
37-
38-
# Run tests
39-
bash scripts/test.sh
40-
41-
# Run linters
42-
bash scripts/lint.sh
43-
```
44-
45-
### Running binary
46-
4734
```shell
4835
# Install binary
4936
go install github.com/huangsam/namigo/cmd/namigo@latest
@@ -65,15 +52,3 @@ namigo search email 'hello'
6552
```
6653

6754
[![asciicast](https://asciinema.org/a/gL5bDUpU0KTM04p2LJI6m3n0m.svg)](https://asciinema.org/a/gL5bDUpU0KTM04p2LJI6m3n0m)
68-
69-
## Code structure
70-
71-
This codebase closely resembles [golang-standards/project-layout].
72-
73-
The TLDR is:
74-
75-
- `cmd` has entry points
76-
- `pkg` has business logic
77-
- `internal` has helpers
78-
79-
[golang-standards/project-layout]: https://github.com/golang-standards/project-layout

0 commit comments

Comments
 (0)