[go-nuts] Re: Help

2018-09-07 Thread Seven Dang
oh oh package config import ( "fmt" // _ "github.com/lib/pq" "gopkg.in/mgo.v2" "time" ) // database var DBmgo *mgo.Database // collections var UserAgent *mgo.Collection func init() { info := &mgo.DialInfo{ Addrs: []string{"ip:port"}, Timeout: 1 * time.

[go-nuts] Re: Upload Website Golang on Linux ( centOS 7) - Help me!

2018-09-07 Thread Seven Dang
Group, help me! thank so much... very so much On Thursday, September 6, 2018 at 5:11:16 PM UTC+7, Seven Dang wrote: > > I upload website build Golang on Linux (centOS 7) > > Folder Website > > public > --- views > |-backend > --

[go-nuts] Re: Bizarre linker error when creating custom GOOS for Webassembly stuff

2018-09-07 Thread Seven Dang
import ( "fmt" ) used : fmt.Println("HELO MOTO") On Thursday, September 6, 2018 at 8:59:48 PM UTC+7, Christine Dodrill wrote: > > Hello, > > I am working on server-side webassembly stuff and the fact that I am not a > javascript interpreter was getting in the way due to nearly all the > stan

[go-nuts] Upload Website Golang on Linux ( centOS 7) - Help me!

2018-09-06 Thread Seven Dang
I upload website build Golang on Linux (centOS 7) Folder Website public --- views |-backend |-frontend main ( build) --img for folder [image: img1.jpg] [image: img2.jpg] [image: img3.jpg] i run ssh : > ./donghogold --> web run

Re: [go-nuts] Automatically re-run the golang file when the file is running, then the error

2018-05-28 Thread Seven Dang
if r == nil { > return > } > //err = errors.Errorf("panic: %s", r) > // call your function again here > }() > > ``` > > > On Monday, May 28, 2018, Seven Dang > wrote: > >> Help me..! >>

[go-nuts] Automatically re-run the golang file when the file is running, then the error

2018-05-28 Thread Seven Dang
Help me..! ex: trap1.go trap2.go main.go -> run file : go run trap1.go , go run trap2.go When running, the internet connection is down or the data connection is down. I want the files that are corrupt to automatically run again. The best way to write a command for main.go is to run the f