[go-nuts] Re: Why Go doesn't see my local package?

2017-02-17 Thread fsn761304
On Friday, February 17, 2017 at 11:00:41 PM UTC+4, Diego Medina wrote: > > Hi, > > I think you pasted the same content to test.go as well as second.go > > in any case, if you use go run, you need to specify all the files involved: > > go run test.go second.go > > should do the trick > > That bein

[go-nuts] Why Go doesn't see my local package?

2017-02-17 Thread fsn761304
In /etc/profile I have: export PATH=$PATH:/usr/local/go/bin export GOPATH=$HOME/work export GOROOT=/usr/local/go I have 2 source files: test.go (main) and second.go They located in /home/u001/work/src/github.com/user/test/ When I'm running go run test.go from test it gives me: test.go:5:2: ope

[go-nuts] Re: How hard it is to write android app in Go if compare to traditional Java SDK (nowadays) ?

2017-02-09 Thread fsn761304
> > >>> Of course, there are game-engines for Go: >>> * http://azul3d.org/ >>> * https://github.com/EngoEngine/engo >>> * https://hajimehoshi.github.io/ebiten/ >>> * https://gitlab.com/xojoc/engine/ >>> >>> But could I use there engines for Android ? -- You received this message because yo

[go-nuts] Re: Does my gofmt work wrongly or I don't understand something ?

2017-02-06 Thread fsn761304
On Monday, February 6, 2017 at 2:39:04 AM UTC+4, howar...@gmail.com wrote: > > What were you expecting to happen? > > The documentation says: > >Both pattern and replacement must be valid Go expressions. In the > pat‐ >tern, single-character lowercase identifiers serve as wildc

[go-nuts] Does my gofmt work wrongly or I don't understand something ?

2017-02-04 Thread fsn761304
How it was: package main import "fmt" func main() { fmt.Printf("hello, world\n") } After: gofmt -r 'h -> H' -w "hello.go" Become: package H import "fmt" func H() { H } -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubsc

[go-nuts] Re: How hard it is to write android app in Go if compare to traditional Java SDK (nowadays) ?

2017-01-17 Thread fsn761304
Thanks a lot for such detailed info ! Do you mean 48 hours literally or you was busy several hours couple of days. On Friday, January 13, 2017 at 10:05:46 AM UTC+4, Egon wrote: > > On Friday, 13 January 2017 01:14:18 UTC+2, fsn7...@gmail.com wrote: >> >> Let's say I wanna create 2D game in Go, wo

[go-nuts] How hard it is to write android app in Go if compare to traditional Java SDK (nowadays) ?

2017-01-12 Thread fsn761304
Let's say I wanna create 2D game in Go, would it be painful today (let's not consider that there are already some game engines in Java) ? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails fr