Skip to content

Commit b442129

Browse files
committed
ref(jay): swap sundae for mamba (#403)
1 parent c90f3ca commit b442129

4 files changed

Lines changed: 14 additions & 13 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This project provides a directory walker in the same vein as the ___Walk___ in s
5050
</p>
5151

5252
- unit testing with [Ginkgo](https://onsi.github.io/ginkgo/)/[Gomega](https://onsi.github.io/gomega/)
53-
- implemented with [🐍 Cobra](https://cobra.dev/) cli framework, assisted by [🍦 Sundae](https://github.com/snivilised/sundae)
53+
- implemented with [🐍 Cobra](https://cobra.dev/) cli framework, assisted by [🍎 Mamba](https://github.com/snivilised/mamba)
5454
- i18n with [go-i18n](https://github.com/nicksnyder/go-i18n)
5555
- linting configuration and pre-commit hooks, (see: [linting-golang](https://freshman.tech/linting-golang/)).
5656
- uses [💥 lo](https://github.com/samber/lo)

cmd/command/boostrap.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"github.com/snivilised/agenor/internal/third/lo"
99
"github.com/snivilised/agenor/locale"
1010
"github.com/snivilised/li18ngo"
11-
"github.com/snivilised/sundae/assist"
12-
"github.com/snivilised/sundae/assist/cfg"
13-
si18n "github.com/snivilised/sundae/locale"
11+
"github.com/snivilised/mamba/assist"
12+
"github.com/snivilised/mamba/assist/cfg"
13+
si18n "github.com/snivilised/mamba/locale"
1414
"github.com/spf13/cobra"
1515
"github.com/spf13/viper"
1616
"golang.org/x/text/language"
@@ -157,18 +157,18 @@ func handleLangSetting() {
157157
Sources: li18ngo.TranslationFiles{
158158
SourceID: li18ngo.TranslationSource{Name: ApplicationName},
159159

160-
// By adding in the source for sundae, we relieve the client from having
160+
// By adding in the source for mamba, we relieve the client from having
161161
// to do this. After-all, it should be taken as read that since any
162162
// instantiation of jay (ie a project using this template) is by
163-
// necessity dependent on sundae, it's source should be loaded so that a
163+
// necessity dependent on mamba, it's source should be loaded so that a
164164
// localizer can be created for it.
165165
//
166166
// The client app has to make sure that when their app is deployed,
167-
// the translations file(s) for sundae are named as 'sundae', as you
167+
// the translations file(s) for mamba are named as 'mamba', as you
168168
// can see below, that is the name assigned to the app name of the
169169
// source.
170170
//
171-
si18n.SundaeSourceID: li18ngo.TranslationSource{Name: "sundae"},
171+
si18n.MambaSourceID: li18ngo.TranslationSource{Name: "mamba"},
172172
},
173173
}
174174
})

go.mod

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ go 1.26.0
55
require (
66
github.com/onsi/ginkgo/v2 v2.28.1
77
github.com/onsi/gomega v1.39.1
8-
github.com/snivilised/sundae v0.1.2
98
github.com/spf13/cobra v1.10.2
109
golang.org/x/exp v0.0.0-20260312153236-7ab1446f8b90
1110
)
1211

12+
require github.com/snivilised/mamba v0.1.1
13+
1314
require (
1415
github.com/Masterminds/semver/v3 v3.4.0 // indirect
1516
github.com/fsnotify/fsnotify v1.9.0 // indirect

go.sum

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ github.com/sagikazarmark/locafero v0.12.0 h1:/NQhBAkUb4+fH1jivKHWusDYFjMOOKU88ee
8686
github.com/sagikazarmark/locafero v0.12.0/go.mod h1:sZh36u/YSZ918v0Io+U9ogLYQJ9tLLBmM4eneO6WwsI=
8787
github.com/snivilised/li18ngo v0.1.10 h1:l0xiT278GdUjEmGIzUmM/UQ2/zlrVuc0kevmCU3Q4Qc=
8888
github.com/snivilised/li18ngo v0.1.10/go.mod h1:+Oc4DADP9XISZEDZLiiG1WLonZo309Dj4e/zBcsNHNw=
89+
github.com/snivilised/mamba v0.1.1 h1:njG8ievm3W7wKoWkj2HbHH6JA4PnklS5DX1l9kWta0A=
90+
github.com/snivilised/mamba v0.1.1/go.mod h1:Wc2BOpzlkCYkdrRHndZFBgqMr8Cziy3/gTSbZlbk6L0=
8991
github.com/snivilised/nefilim v0.1.11 h1:i8o4vb/4oNi6GVfTGUdUDqvINn8RyTmLdvVRW/aDu4A=
9092
github.com/snivilised/nefilim v0.1.11/go.mod h1:1dQJlIcxLIl7iY3/DyL/52gSLEJoAmaB6sQTFF79Ofc=
9193
github.com/snivilised/pants v0.1.5 h1:hh/rfws7V4qghL7k95AdI22BHZtS5g4BW5PDCxTE58w=
9294
github.com/snivilised/pants v0.1.5/go.mod h1:sheyn+EehmO6BEDgMNeXxQ8pR4TNjBm255QwAY1uX20=
93-
github.com/snivilised/sundae v0.1.2 h1:APZBgRBWkOAvYk2Por5tl7bNxgK4BksxrBWPpoz3YMU=
94-
github.com/snivilised/sundae v0.1.2/go.mod h1:oS0l3bVeB7bdnW5FGdmUxjsI38zwsyHGfvOKsYdZYGY=
9595
github.com/spf13/afero v1.15.0 h1:b/YBCLWAJdFWJTN9cLhiXXcD7mzKn9Dm86dNnfyQw1I=
9696
github.com/spf13/afero v1.15.0/go.mod h1:NC2ByUVxtQs4b3sIUphxK0NioZnmxgyCrfzeuq8lxMg=
9797
github.com/spf13/cast v1.10.0 h1:h2x0u2shc1QuLHfxi+cTJvs30+ZAHOGRic8uyGTDWxY=
@@ -175,8 +175,8 @@ google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
175175
google.golang.org/protobuf v1.36.7 h1:IgrO7UwFQGJdRNXH/sQux4R1Dj1WAKcLElzeeRaXV2A=
176176
google.golang.org/protobuf v1.36.7/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
177177
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
178-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
179-
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
178+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
179+
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
180180
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
181181
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ=
182182
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw=

0 commit comments

Comments
 (0)