Re: [go-nuts] Having trouble in running a go-git api example

2022-10-13 Thread go je
if you mean os.Args[1], you might want to build it first using "go build" and you might run "./push https://github.com/go-git/go-git;. if you don't build the executable, the default args might be `[]string{"go", "run", "_examples/push/main.go", " https://github.com/go-git/go-git"}` where

Re: [go-nuts] draft design for // +build replacement

2020-07-01 Thread go je
This might as well replace makefiles for testing and other tools. or similar formats. //go:test devenv func TestFoo(t *testing.T) {} //go:test devenv -failfast -short -cover ./... func TestFoo2(t *testing.T) {} //go:test prod func TestProduction(t *testing.T) {} $ go test devenv On Wed, Jul

Re: [go-nuts] text template and white space suppression

2020-06-29 Thread go je
Maybe templating engines help.. here's one example. https://github.com/gobuffalo/plush On Mon, Jun 29, 2020 at 3:27 AM Bill Nixon wrote: > I am trying to do some creative formatting using text template and wanted > to see if there might be a better approach than what I implemented. > > I have

[go-nuts] Re: VSCode

2019-08-28 Thread go je
I have this because installing and reinstall messes my git bash export GOPATH=/c/Users/Goko/go; export PATH=$PATH:$GOPATH/bin; On Tuesday, August 27, 2019 at 8:40:33 PM UTC+8, Andreqx wrote: > > I am trying to install VSCode to run with Go. I Need to modify the > /.bashrc file. Could

[go-nuts] Citation Needed

2019-07-06 Thread go je
Is the Category "Games" gaining attention in the go community? Are the Developers writing for production level? Do we have an examples? [image: image.png] -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop

Re: [go-nuts] why is this not ascending?

2019-04-08 Thread go je
ascending only work if i cut the first sleep half second to print them alternately but isn't they sequentially running? On Mon, Apr 8, 2019 at 9:30 PM go je wrote: > https://play.golang.org/p/0TIxVFuqGoB > > -- > You received this message because you are subscribed to the G

[go-nuts] why is this not ascending?

2019-04-08 Thread go je
https://play.golang.org/p/0TIxVFuqGoB -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit