Skip to content

Commit 0c63089

Browse files
committed
fix: format files
1 parent 6ef1179 commit 0c63089

22 files changed

+1178
-1178
lines changed
Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,58 @@
11
name: Bug report
22
description: Report incorrect behavior, test failure, or unexpected output in this Go library
33
title: "[Bug] <brief description of the issue>"
4-
labels: ["bug-p3"]
4+
labels: [ "bug-p3" ]
55
assignees:
6-
- icellan
6+
- icellan
77
body:
8-
- type: textarea
9-
id: bug_description
10-
attributes:
11-
label: Describe the bug
12-
description: Provide a clear and concise summary of the problem or unexpected behavior.
13-
placeholder: The custom function strips the plus sign from numbers...
14-
validations:
15-
required: true
8+
- type: textarea
9+
id: bug_description
10+
attributes:
11+
label: Describe the bug
12+
description: Provide a clear and concise summary of the problem or unexpected behavior.
13+
placeholder: The custom function strips the plus sign from numbers...
14+
validations:
15+
required: true
1616

17-
- type: textarea
18-
id: reproduction_steps
19-
attributes:
20-
label: Steps to reproduce
21-
description: Provide minimal steps or code snippets to reproduce the issue.
22-
placeholder: |
23-
1. Call package.Func("input")
24-
2. Observe that the result is "input" (missing 'symbol')
25-
validations:
26-
required: true
17+
- type: textarea
18+
id: reproduction_steps
19+
attributes:
20+
label: Steps to reproduce
21+
description: Provide minimal steps or code snippets to reproduce the issue.
22+
placeholder: |
23+
1. Call package.Func("input")
24+
2. Observe that the result is "input" (missing 'symbol')
25+
validations:
26+
required: true
2727

28-
- type: textarea
29-
id: expected_behavior
30-
attributes:
31-
label: Expected behavior
32-
description: Describe what you expected to happen instead.
33-
placeholder: I expected the result to be "symbol+input" since the plus sign is allowed.
34-
validations:
35-
required: true
28+
- type: textarea
29+
id: expected_behavior
30+
attributes:
31+
label: Expected behavior
32+
description: Describe what you expected to happen instead.
33+
placeholder: I expected the result to be "symbol+input" since the plus sign is allowed.
34+
validations:
35+
required: true
3636

37-
- type: textarea
38-
id: environment
39-
attributes:
40-
label: Environment details
41-
description: Provide version information and your Go setup to help debug.
42-
placeholder: |
43-
- Go version: go1.22.2
44-
- OS: macOS 14.5 (arm64)
45-
- Library version/commit: v1.3.4 or commit 88aef9c
46-
validations:
47-
required: false
37+
- type: textarea
38+
id: environment
39+
attributes:
40+
label: Environment details
41+
description: Provide version information and your Go setup to help debug.
42+
placeholder: |
43+
- Go version: go1.22.2
44+
- OS: macOS 14.5 (arm64)
45+
- Library version/commit: v1.3.4 or commit 88aef9c
46+
validations:
47+
required: false
4848

49-
- type: textarea
50-
id: additional_context
51-
attributes:
52-
label: Additional context
53-
description: Add any logs, test output, or relevant code here.
54-
placeholder: |
55-
Output from `go test -v ./...`
56-
Any relevant stack traces, links to code, or affected functions.
57-
validations:
58-
required: false
49+
- type: textarea
50+
id: additional_context
51+
attributes:
52+
label: Additional context
53+
description: Add any logs, test output, or relevant code here.
54+
placeholder: |
55+
Output from `go test -v ./...`
56+
Any relevant stack traces, links to code, or affected functions.
57+
validations:
58+
required: false
Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
name: Feature request
22
description: Suggest an idea or improvement for this project
33
title: "[Feature] <brief description of feature>"
4-
labels: ["idea"]
4+
labels: [ "idea" ]
55
assignees:
6-
- icellan
6+
- icellan
77
body:
8-
- type: textarea
9-
id: problem_description
10-
attributes:
11-
label: Is your feature request related to a problem?
12-
description: Describe the problem you're experiencing. What makes this feature necessary or helpful?
13-
placeholder: I'm always frustrated when I try to use X and it doesn't support Y...
14-
validations:
15-
required: true
8+
- type: textarea
9+
id: problem_description
10+
attributes:
11+
label: Is your feature request related to a problem?
12+
description: Describe the problem you're experiencing. What makes this feature necessary or helpful?
13+
placeholder: I'm always frustrated when I try to use X and it doesn't support Y...
14+
validations:
15+
required: true
1616

17-
- type: textarea
18-
id: solution
19-
attributes:
20-
label: Describe the solution you'd like
21-
description: Provide a clear and concise description of what you'd like to see implemented.
22-
placeholder: Add support for this custom function to custom map...
23-
validations:
24-
required: true
17+
- type: textarea
18+
id: solution
19+
attributes:
20+
label: Describe the solution you'd like
21+
description: Provide a clear and concise description of what you'd like to see implemented.
22+
placeholder: Add support for this custom function to custom map...
23+
validations:
24+
required: true
2525

26-
- type: textarea
27-
id: alternatives
28-
attributes:
29-
label: Describe alternatives you've considered
30-
description: List any alternative solutions or features you’ve thought about or tried.
31-
placeholder: I also considered doing this through a wrapper or middleware...
32-
validations:
33-
required: false
26+
- type: textarea
27+
id: alternatives
28+
attributes:
29+
label: Describe alternatives you've considered
30+
description: List any alternative solutions or features you’ve thought about or tried.
31+
placeholder: I also considered doing this through a wrapper or middleware...
32+
validations:
33+
required: false
3434

35-
- type: textarea
36-
id: context
37-
attributes:
38-
label: Additional context
39-
description: Add any other context or screenshots that help explain your feature request.
40-
placeholder: Links to relevant docs, examples, or screenshots
41-
validations:
42-
required: false
35+
- type: textarea
36+
id: context
37+
attributes:
38+
label: Additional context
39+
description: Add any other context or screenshots that help explain your feature request.
40+
placeholder: Links to relevant docs, examples, or screenshots
41+
validations:
42+
required: false
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: Question
22
description: General template for asking a question related to this project
33
title: "[Question] <your topic here>"
4-
labels: ["question"]
4+
labels: [ "question" ]
55
assignees:
6-
- icellan
6+
- icellan
77
body:
8-
- type: textarea
9-
id: question
10-
attributes:
11-
label: What's your question?
12-
description: A clear and concise question, including references to specific code or files if applicable.
13-
placeholder: I'm wondering about the behavior of the package.XYZ function when...
14-
validations:
15-
required: true
8+
- type: textarea
9+
id: question
10+
attributes:
11+
label: What's your question?
12+
description: A clear and concise question, including references to specific code or files if applicable.
13+
placeholder: I'm wondering about the behavior of the package.XYZ function when...
14+
validations:
15+
required: true
1616

17-
- type: textarea
18-
id: additional_context
19-
attributes:
20-
label: Additional context
21-
description: Add any other context, code samples, or screenshots that help explain your question.
22-
placeholder: e.g., stack traces, related functions, environment info, links to source lines
23-
validations:
24-
required: false
17+
- type: textarea
18+
id: additional_context
19+
attributes:
20+
label: Additional context
21+
description: Add any other context, code samples, or screenshots that help explain your question.
22+
placeholder: e.g., stack traces, related functions, environment info, links to source lines
23+
validations:
24+
required: false

.github/dependabot.yml

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -26,76 +26,76 @@
2626
version: 2
2727

2828
updates:
29-
# ──────────────────────────────────────────────────────────────
30-
# 1. Go Modules (go.mod / go.sum)
31-
# ──────────────────────────────────────────────────────────────
32-
- package-ecosystem: "gomod"
33-
directory: "/"
34-
target-branch: "master"
35-
schedule:
36-
interval: "weekly"
37-
day: "monday"
38-
time: "09:00"
39-
timezone: "America/New_York"
40-
allow:
41-
- dependency-type: "direct"
42-
groups:
43-
gomod-minor-patch:
44-
update-types: ["minor", "patch"]
45-
open-pull-requests-limit: 10
46-
assignees: ["galt-tr","mrz1836"]
47-
labels: ["chore", "dependencies", "gomod"]
48-
commit-message:
49-
prefix: "chore(deps)"
50-
include: "scope"
51-
ignore:
52-
- dependency-name: "golang.org/x/mod"
53-
versions: ["<0.15.0"]
54-
- dependency-name: "github.com/aws/aws-sdk-go"
55-
versions: ["<1.50.0"]
29+
# ──────────────────────────────────────────────────────────────
30+
# 1. Go Modules (go.mod / go.sum)
31+
# ──────────────────────────────────────────────────────────────
32+
- package-ecosystem: "gomod"
33+
directory: "/"
34+
target-branch: "master"
35+
schedule:
36+
interval: "weekly"
37+
day: "monday"
38+
time: "09:00"
39+
timezone: "America/New_York"
40+
allow:
41+
- dependency-type: "direct"
42+
groups:
43+
gomod-minor-patch:
44+
update-types: [ "minor", "patch" ]
45+
open-pull-requests-limit: 10
46+
assignees: [ "galt-tr","mrz1836" ]
47+
labels: [ "chore", "dependencies", "gomod" ]
48+
commit-message:
49+
prefix: "chore(deps)"
50+
include: "scope"
51+
ignore:
52+
- dependency-name: "golang.org/x/mod"
53+
versions: [ "<0.15.0" ]
54+
- dependency-name: "github.com/aws/aws-sdk-go"
55+
versions: [ "<1.50.0" ]
5656

57-
# ──────────────────────────────────────────────────────────────
58-
# 2. GitHub Actions Workflows
59-
# ──────────────────────────────────────────────────────────────
60-
- package-ecosystem: "github-actions"
61-
directory: "/"
62-
target-branch: "master"
63-
schedule:
64-
interval: "weekly"
65-
day: "monday"
66-
time: "09:15"
67-
timezone: "America/New_York"
68-
allow:
69-
- dependency-type: "direct"
70-
groups:
71-
ghactions-all:
72-
patterns: ["*"]
73-
open-pull-requests-limit: 10
74-
assignees: ["galt-tr","mrz1836"]
75-
labels: ["chore", "dependencies", "github-actions"]
76-
commit-message:
77-
prefix: "chore(deps)"
78-
include: "scope"
57+
# ──────────────────────────────────────────────────────────────
58+
# 2. GitHub Actions Workflows
59+
# ──────────────────────────────────────────────────────────────
60+
- package-ecosystem: "github-actions"
61+
directory: "/"
62+
target-branch: "master"
63+
schedule:
64+
interval: "weekly"
65+
day: "monday"
66+
time: "09:15"
67+
timezone: "America/New_York"
68+
allow:
69+
- dependency-type: "direct"
70+
groups:
71+
ghactions-all:
72+
patterns: [ "*" ]
73+
open-pull-requests-limit: 10
74+
assignees: [ "galt-tr","mrz1836" ]
75+
labels: [ "chore", "dependencies", "github-actions" ]
76+
commit-message:
77+
prefix: "chore(deps)"
78+
include: "scope"
7979

80-
# ──────────────────────────────────────────────────────────────
81-
# 3. DevContainer (devcontainer.json : base image + features)
82-
# ──────────────────────────────────────────────────────────────
83-
- package-ecosystem: "devcontainers"
84-
directory: "/.devcontainer"
85-
target-branch: "master"
86-
schedule:
87-
interval: "weekly"
88-
day: "monday"
89-
time: "09:30"
90-
timezone: "America/New_York"
91-
allow:
92-
- dependency-type: "direct"
93-
groups:
94-
devcontainer-all:
95-
patterns: ["*"]
96-
open-pull-requests-limit: 5
97-
assignees: ["galt-tr","mrz1836"]
98-
labels: ["chore", "dependencies", "devcontainer"]
99-
commit-message:
100-
prefix: "chore(deps)"
101-
include: "scope"
80+
# ──────────────────────────────────────────────────────────────
81+
# 3. DevContainer (devcontainer.json : base image + features)
82+
# ──────────────────────────────────────────────────────────────
83+
- package-ecosystem: "devcontainers"
84+
directory: "/.devcontainer"
85+
target-branch: "master"
86+
schedule:
87+
interval: "weekly"
88+
day: "monday"
89+
time: "09:30"
90+
timezone: "America/New_York"
91+
allow:
92+
- dependency-type: "direct"
93+
groups:
94+
devcontainer-all:
95+
patterns: [ "*" ]
96+
open-pull-requests-limit: 5
97+
assignees: [ "galt-tr","mrz1836" ]
98+
labels: [ "chore", "dependencies", "devcontainer" ]
99+
commit-message:
100+
prefix: "chore(deps)"
101+
include: "scope"

.github/sweep.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gha_enabled: true
22
branch: master
3-
blocked_dirs: []
3+
blocked_dirs: [ ]
44
draft: false
55
description: |
66
go-subtree is a production-ready starter scaffold for Go libraries that bundles opinionated project structure, module management, and fully automated CI/CD workflows. It integrates GitHub Actions, GoReleaser, comprehensive testing and linting, and security scanning so maintainers can focus on writing code instead of setup and infrastructure.

0 commit comments

Comments
 (0)