update readme
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
# Go Application Template
|
# Go Application Template
|
||||||
|
|
||||||
## Structure
|
## Structure
|
||||||
|
|
||||||
|
```
|
||||||
my-lib/
|
my-lib/
|
||||||
├── lib1/ # Individual importable library. Duplicate as needed
|
├── lib1/ # Individual importable library. Duplicate as needed
|
||||||
│ ├── lib1.go
|
│ ├── lib1.go
|
||||||
@@ -9,9 +11,11 @@ my-lib/
|
|||||||
└── pkg1/ # Internal use package. Duplicate as needed
|
└── pkg1/ # Internal use package. Duplicate as needed
|
||||||
├── pgk1.go
|
├── pgk1.go
|
||||||
└── pgk1_test.go
|
└── pgk1_test.go
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Use
|
## Use
|
||||||
- `git clone git.develent.net/wiharb/go-template-lib.git [project-name]`
|
- `git clone https://git.develent.net/wiharb/go-template-lib.git [project-name]`
|
||||||
- `cd ./[project-name]`
|
- `cd ./[project-name]`
|
||||||
- `rm -rf ./.git`
|
- `rm -rf ./.git`
|
||||||
- Rename and duplicate `lib1` and `internal/pkg1` as needed
|
- Rename and duplicate `lib1` and `internal/pkg1` as needed
|
||||||
|
|||||||
Reference in New Issue
Block a user