I agree with Peter's sentiment here.
On Sunday, June 14, 2020 at 3:36:38 PM UTC+2, peterGo wrote:
>
> Recently, a political message with a fundraising link appeared as a banner
> atop golang.org websites: https://golang.org/, https://pkg.go.dev/.
>
> content/static: add Black Lives Matter banner
Check out https://github.com/go-martini/martini if you're looking for some
magic.
In case you don't find any magic there, then i'm sorry, i've havne't used
martini myself, and am not familiar with its source, i've only heard from
others that it's quite magicky.
--
You received this message
What you're looking for is reflect.Type.NumIn()int and reflect.Type.In(i
int) Type.
See example here https://play.golang.org/p/q1D56Abj-5
On Tuesday, March 21, 2017 at 12:01:09 AM UTC+1, Tyler Compton wrote:
>
> I'm trying to create an HTTP request router library that automatically
> decodes
Here's the relevant paragraph from the guide you linked to (emphasis mine):
Note how goagen generated a main.go for our app as well as a skeleton
> controller (bottle.go). These two files are meant to help bootstrap a new
> development, *they won’t be re-generated (by default) if already
What Dave suggested should work, in your example package1, package2,
package3 and package4 should be able to import testhelpers with `import
"project/internal/testhelpers"`
On Sunday, December 18, 2016 at 2:48:41 PM UTC+1, Henry wrote:
>
> Where do you put this internal package in relation to