Skip to content

Commit 4610225

Browse files
author
koddr
committed
Refactor project's code
1 parent c625eb4 commit 4610225

35 files changed

+689
-617
lines changed

.dockerignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
.dockerignore
33
.editorconfig
44
.gitignore
5-
.prettierignore
65
Dockerfile
76
Makefile
87
LICENSE
8+
Taskfile.yml
99
*.md
1010

1111
# Folders
12+
.git/
1213
.github/
14+
.task/
1315
app/
14-
cmd/apiserver/*_test.go
15-
internal/apiserver/*_test.go
16+
**/*_test.go

.editorconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ charset = utf-8
77
trim_trailing_whitespace = true
88
insert_final_newline = true
99

10-
[{Makefile,Dockerfile,go.mod,go.sum,*.go}]
10+
[{go.mod,go.sum,*.go}]
1111
indent_style = tab
1212
indent_size = 4
1313

14-
[{*.yml,*.yaml}]
15-
indent_style = space
16-
indent_size = 4
14+
[{Makefile,Dockerfile,*.yml,*.yaml}]
15+
indent_style = tab
16+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
go.sum merge=union

.github/FUNDING.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# These are supported funding model platforms
22

3-
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
3+
github: koddr
44
patreon: koddr
5-
open_collective: # Replace with a single Open Collective username
6-
ko_fi: # Replace with a single Ko-fi username
7-
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8-
custom: # Replace with a single custom sponsorship URL
5+
custom: https://paypal.me/koddr

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,43 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
6-
assignees: ''
3+
about: Create a bug report to help us improve.
4+
title: ""
5+
labels: "bug"
6+
assignees: "koddr"
77
---
88

9-
**Describe the bug**
10-
A clear and concise description of what the bug is.
9+
**Required check list:**
1110

12-
**To Reproduce**
13-
Steps to reproduce the behavior:
11+
- [x] I'm gonna mark the checkboxes like this.
12+
- [ ] I didn't find in the Create Go App CLI repository's issues section similar bug.
13+
- [ ] I understand, that the Create Go App CLI is Open Source and not-for-profit product.
14+
- [ ] This is not about third-party project, framework, package or technology.
1415

15-
1. Go to '...'
16-
2. Click on '....'
16+
**My environment:**
17+
18+
- OS (`uname -a`):
19+
- Golang (`go version`):
20+
- Create Go App CLI (`cgapp -v`):
21+
22+
**Describe the bug:**
23+
24+
<!-- A clear and concise description of what the bug is. -->
25+
26+
**Steps to reproduce the behavior:**
27+
28+
1. Go to ...
29+
2. Click on ...
1730
3. ...
1831
4. See error
1932

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
33+
**Expected behavior:**
34+
35+
<!-- A clear and concise description of what you expected to happen. -->
2236

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
37+
**Screenshots:**
2538

26-
**Your environment:**
39+
<!-- If applicable, add screenshots to help explain your problem. -->
2740

28-
- OS [e.g. `macOS 10.14.6`]:
29-
- Golang [e.g. `1.13.5`]:
41+
**Additional context:**
3042

31-
**Additional context**
32-
Add any other context about the problem here.
43+
<!-- Add any other context about the problem here. -->
Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,34 @@
11
---
22
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
6-
assignees: ''
3+
about: Suggest an idea for this project.
4+
title: ""
5+
labels: "feature"
6+
assignees: "koddr"
77
---
88

9+
**Required check list:**
10+
11+
- [x] I'm gonna mark the checkboxes like this.
12+
- [ ] I didn't find in the Create Go App CLI repository's issues section similar feature request.
13+
- [ ] I understand, that the Create Go App CLI is Open Source and not-for-profit product.
14+
- [ ] This is not about third-party project, framework, package or technology.
15+
916
**Is your feature request related to a problem? Please describe.**
10-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
1117

12-
**Describe the solution you'd like**
13-
A clear and concise description of what you want to happen.
18+
<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->
19+
20+
**Describe the solution you'd like:**
21+
22+
<!-- A clear and concise description of what you want to happen. -->
23+
24+
**Describe alternatives you've considered:**
25+
26+
<!-- A clear and concise description of any alternative solutions or features you've considered. -->
27+
28+
**Screenshots:**
29+
30+
<!-- If applicable, add screenshots to help explain your feature or problem. -->
1431

15-
**Describe alternatives you've considered**
16-
A clear and concise description of any alternative solutions or features you've considered.
32+
**Additional context:**
1733

18-
**Additional context**
19-
Add any other context or screenshots about the feature request here.
34+
<!-- Add any other context or screenshots about the feature request here. -->

.github/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ newPRWelcomeComment: >
1111
# Configuration for first-pr-merge - https://github.com/behaviorbot/first-pr-merge
1212
# Comment to be posted to on pull requests merged by a first time user
1313
firstPRMergeComment: >
14-
Congrats on merging your first pull request! 🎉 We here at behaviorbot are proud of you!
14+
Congrats on merging your first pull request! 🎉 We here at `Create Go App` are proud of you!

.gitignore

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
# macOS
2-
.DS_Store
2+
**/.DS_Store
33

44
# Binaries for programs and plugins
5-
*.exe
6-
*.exe~
7-
*.dll
8-
*.so
9-
*.dylib
5+
**/*.exe
6+
**/*.exe~
7+
**/*.dll
8+
**/*.so
9+
**/*.dylib
1010

1111
# Test binary, built with `go test -c`
12-
*.test
13-
14-
# Output of the go coverage tool, specifically when used with LiteIDE
15-
*.out
16-
17-
# Dependency directories (remove the comment below to include it)
18-
# vendor/
12+
**/*.test
1913

2014
# Dev Build
21-
app/
22-
build/
15+
**/app/
16+
**/build/
17+
18+
# Taskfile
19+
.task/

.prettierignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)