Skip to content

Commit 25e137e

Browse files
Bump golang.org/x/text from 0.25.0 to 0.26.0 in the all group (#27)
Bumps the all group with 1 update: [golang.org/x/text](https://github.com/golang/text). Updates `golang.org/x/text` from 0.25.0 to 0.26.0 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/text/commit/80721808805f9d846d907c85d73ca6b5b6ecb870"><code>8072180</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/text/commit/6cacac16ce2f94d21bf864011f5e0d2181a1a8bf"><code>6cacac1</code></a> go.mod: update tagx:ignore'd golang.org/x dependencies</li> <li>See full diff in <a href="https://github.com/golang/text/compare/v0.25.0...v0.26.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/text&package-manager=go_modules&previous-version=0.25.0&new-version=0.26.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: frag223 <m.riquelme223@gmail.com>
1 parent 90d790c commit 25e137e

14 files changed

Lines changed: 132 additions & 78 deletions

File tree

.golangci.yaml

Lines changed: 18 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,19 @@
11
# Options for analysis running.
2-
run:
3-
# The default concurrency value is the number of available CPU.
4-
concurrency: 4
5-
# Timeout for analysis, e.g. 30s, 5m.
6-
# Default: 1m
7-
timeout: 30s
8-
# Exit code when at least one issue was found.
9-
# Default: 1
10-
issues-exit-code: 2
11-
# Include test files or not.
12-
# Default: true
13-
tests: false
14-
# Which dirs to skip: issues from them won't be reported.
15-
# Can use regexp here: `generated.*`, regexp is applied on full path,
16-
# including the path prefix if one is set.
17-
# Default value is empty list,
18-
# but default dirs are skipped independently of this option's value (see skip-dirs-use-default).
19-
# "/" will be replaced by current OS file path separator to properly work on Windows.
20-
skip-dirs:
21-
- example
22-
# Enables skipping of directories:
23-
# - vendor$, third_party$, testdata$, examples$, Godeps$, builtin$
24-
# Default: true
25-
skip-dirs-use-default: false
26-
# If set we pass it to "go list -mod={option}". From "go help modules":
27-
# If invoked with -mod=readonly, the go command is disallowed from the implicit
28-
# automatic updating of go.mod described above. Instead, it fails when any changes
29-
# to go.mod are needed. This setting is most useful to check that go.mod does
30-
# not need updates, such as in a continuous integration and testing system.
31-
# If invoked with -mod=vendor, the go command assumes that the vendor
32-
# directory holds the correct copies of dependencies and ignores
33-
# the dependency descriptions in go.mod.
34-
#
35-
# Allowed values: readonly|vendor|mod
36-
# By default, it isn't set.
37-
modules-download-mode: readonly
2+
version: "2"
3+
linters:
4+
enable:
5+
- cyclop
6+
- nestif
7+
- bodyclose
8+
- iface
9+
- gosec
10+
11+
exclusions:
12+
paths: "example/*"
13+
rules:
14+
- path: '(.+)_test\.go'
15+
linters:
16+
- gosec
17+
18+
19+

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/golinter.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/pyrotic.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
module github.com/code-gorilla-au/pyrotic
22

3-
go 1.24.1
3+
go 1.24.4
44

55
require (
66
github.com/code-gorilla-au/odize v1.3.4
77
github.com/gobuffalo/flect v1.0.3
88
github.com/mattn/go-isatty v0.0.20
99
github.com/spf13/cobra v1.9.1
10-
golang.org/x/text v0.25.0
10+
golang.org/x/text v0.26.0
1111
)
1212

1313
require (

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXl
3232
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
3333
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20=
3434
golang.org/x/sys v0.32.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
35-
golang.org/x/text v0.25.0 h1:qVyWApTSYLk/drJRO5mDlNYskwQznZmkpV2c8q9zls4=
36-
golang.org/x/text v0.25.0/go.mod h1:WEdwpYrmk1qmdHvhkSTNPm3app7v4rsT8F2UD6+VHIA=
35+
golang.org/x/text v0.26.0 h1:P42AVeLghgTYr4+xUnTRKDMqpar+PtX7KWuNQL21L8M=
36+
golang.org/x/text v0.26.0/go.mod h1:QK15LZJUUQVJxhz7wXgxSy/CJaTFjd0G+YLonydOVQA=
3737
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
3838
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
3939
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=

internal/engine/engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (c *Core) Generate(data Data) error {
4545
}
4646

4747
for _, item := range parsedOutput {
48-
switch item.ParseData.Action {
48+
switch item.Action {
4949
case parser.ActionAppend:
5050
if err := c.fwr.AppendFile(item.To, item.Output); err != nil {
5151
log.Println("error appending file ", err)

internal/parser/errors.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@ import "errors"
55
var (
66
ErrParsingBool = errors.New("unable to parse bool")
77
ErrMalformedTemplate = errors.New("malformed template data")
8+
ErrNoMatchingField = errors.New("no matching field")
89
)

0 commit comments

Comments
 (0)