Stream

Join this community to post or comment

Asta Xie

Discussion  - 
 
Hi all,

Slack is an instant communicate tools. That's really helpful for us to solve the problem quickly. 

I always use the QQ to solve the beego problem for Chinese users. I think that's helpful for them. While slack is the best choice in other countries. 

here is the team address: https://beego.slack.com

if you want to join the group, please send me your email address, I will send the invitation. My email is xiemengjun@gmail.com

Thanks
7
Add a comment...
 
A library for parsing/building frame ranges and file sequence strings commonly used in VFX and animation applications.

Includes a cmd utility called `seqls`, acting like `ls` but rolls up files into sequences. 

Package: https://github.com/justinfx/gofileseq

cmd/seqls: https://github.com/justinfx/gofileseq/tree/master/cmd/seqls

binary releases: https://bintray.com/justinfx/utils/seqls/_latestVersion
gofileseq - A library for parsing/building frame ranges and sequences. A port of the python fileseq library, for Go (https://github.com/sqlboy/fileseq)
2
Add a comment...

Eric Koston

Discussion  - 
 
What is http RoundTripper
Hi all,
 Can someone explain, what is http roundtripper?
Thanks
1
Andreas Jellinghaus's profile photoEric Koston's profile photo
2 comments
 
THanks so much.
Add a comment...
 
Hey guys, 

So I'm trying to write a file in a different directory than where the source code is located. 

If anyone please shed some light on how I could achieve this, it would be greatly appreciated!
1
Scott Corbeil's profile photoDamien Robichaud's profile photo
15 comments
 
+Scott Corbeil +Lars Tørnes Hansen  Wow thanks, that's a nice syntax!!
Add a comment...

Richard Bucker

Show and tell  - 
 
I've had to copy/transform data from similar structs too many times.  Here is a general purpose transform package. The rules are tight and rely on panic in the reflect package. Pull requests are welcome.
1
Richard Bucker's profile photo
 
Few bug fixes and more features. 
Add a comment...

Eric Koston

Discussion  - 
 
Hi all
I wanted to know, if java application is scaling better then go?
Thanks
1
Juan F. Giménez Silva's profile photoEric Koston's profile photo
5 comments
 
Thanks guys for great response.
Add a comment...

Daniel Eloff

Discussion  - 
 
Using struct tags to define command line arguments (flags) with Go:https://github.com/Urban4M/go-flagged
2
1
Ingo Oeser's profile photoDavid Erdman II's profile photoKim Sung-cheol's profile photo
2 comments
 
Good ideas.
Add a comment...

Daniel Perez

Show and tell  - 
 
I have just released a library to make structure serialization easier. I am using it to build REST APIs.
I am open to any feedback!
Simple but powerful serializer for Go
1
2
Thomas Kuchs (tomask)'s profile photoJose Luis Garcia's profile photo
Add a comment...
 
So I've been trying to get my program to run on Google App Engine with CloudSQL.

I've tried to use both ziutek/mymysql and go-sql-driver/mysql (both the go get version and the one direct from Github).

In both cases, when running with goapp serve, when I try to access the database (according to the respective methods noted here: https://stackoverflow.com/questions/21368363/how-to-connect-to-google-cloud-sql-with-go-sql-driver-mysql-on-app-engine), the console shows an invalid memory address error and the error text on the page says "cloudsql: not supported in dev yet".

When I try to run it after deploying, it has the same error in the log.

So, what am I doing wrong here?

(The rest of the program runs fine on App Engine.  The CloudSQL is set up to allow my IP address to connect and I've tested it both with and without a public IP address assigned.  I've tried it with both Go 1.2 and 1.4.)
2
1
VonVictor Rosenchild's profile photo
Add a comment...

Ulrich Schreiner

Show and tell  - 
 
Orca is a SSH proxy server. You put orca in front of multiple ssh-servers and orca will delegate all requests to your servers. Orca supports:

- time based login: the user must first enable the account for a specific amount of time
- two factor auth with TOTP: the user must have a private SSH-key AND a TOTP to login to your ssh-servers.

You need
 - "https://github.com/coreos/etcd" as a storage engine
 - an OAuth provider (google and github supported; custom gitlab installation too)

Orca is written in go; the web frontend is Polymer 0.5 but will be rewritten/redesigned when Polymer1.0 will be released.
orca - A SSH Gateway
7
1
Ulrich Schreiner's profile photoKarl Krueger's profile photoMauro Risonho de Paula Assumpção's profile photo
3 comments
 
+Cole Mickens: If you want to run the same command on many SSH servers and gather the results, Go's SSH library is pretty good for implementing that too — but that's a different problem.

(Notably, it's hella easier in Go than it is with the Python equivalent, paramiko — which isn't surprising because the hard part isn't the SSH, it's the concurrency.)
Add a comment...

About this community

News and discussion about the Go Programming Language. golang.org

Eric Koston

Discussion  - 
 
Hi all
Can someone please explain me, how channels work? Does channel lock variable like mutex? I know how to use channels, but I want to know, how channels operate on the background. 
Thanks
1
Zach Klippenstein's profile photoEric Koston's profile photo
4 comments
 
thanks guys
Add a comment...

David Cheney

Tips and tricks  - 
This is a quick Friday blog post to talk about a recent experience I had working on a piece Juju code that needed to capture the data being sent over a net.Conn . Most Gophers know that the net package provides a net.Pipe function which returns a pair of net.Conn s representing an in memory ...
29
6
Stephan Heinze's profile photogeorge oloo's profile photoMatt Dragon's profile photoGabriel Pozo's profile photo
2 comments
 
Would this be helpful? https://bitbucket.org/oneoffcode/transcode for copying and transforming structures. 
Add a comment...

Eric Koston

Discussion  - 
Go is decidedly polarizing. While many are touting their transition to Go, it has become equally fashionable to criticize and mock the language. As Bjarne Stroustrup so eloquently put it, "There ar...
16
8
Eric Casteleijn's profile photo令狐虫's profile photoLevi DeLissa's profile photoBogdan Dinu's profile photo
9 comments
 
@Ian: Good comment. The adherence to simplicity is both fundamental and a critical; complexity ruined Java, for me.  But I'd like to see some self-consistency in Go.  The special cases, where the language itself is allowed to do things that programmers can't (like ignoring some return values) makes the language more confusing, not less.
Add a comment...

Mathias Gumz

Discussion  - 
 
http://blog.dimroc.com/2015/05/07/etl-language-showdown-pt2/

i really like the "observation" parts in the first part, which is available here:

http://blog.dimroc.com/2014/09/29/etl-language-showdown/
Comparing Golang, Scala, Elixir, Ruby, and now Python3 for ETL: Part 2. 07 May 2015. A year ago, I wrote the same program in four languages to compare their productivity when performing ETL (extract-transform-load). Read about part 1 here and feel free to check out the source code.
14
5
Михаил Пустовалов's profile photoArtem Plyasunov's profile photoMihir Malaviya's profile photoMauro Risonho de Paula Assumpção's profile photo
4 comments
 
and then look at https://swtch.com/~rsc/regexp/regexp1.html ... "we" are on the blue side.
Add a comment...

Dan Cancro

Discussion  - 
 
Hi,

I'm not a Go user but I maintain a reference to help people understand the trade-offs and features of technologies.  I was hoping someone among you would be interested in helping to contribute some knowledge about it to the project. It started as a survey of AngularJS options and has since expanded.
http://www.dancancro.com/comparison-of-angularjs-application-starters/

It should not take more than a few minutes for someone who knows Go well and will really help people understand quickly what it's about and how it's different.

If you would like to help out, I've made a questionnaire that should make it a little easier:

Click below to complete a short questionnaire about Go
https://docs.google.com/forms/d/1uq2aavM2JfKkN5Exh15x8WejXoJQNf1rI8MTF62hPQs/viewform

I'm sure I've left out a lot of benefits that Go delivers.  Please let me know about the big things I've missed and I'll add them to the list.

Thanks,
Dan
1
Add a comment...

Eric Koston

Discussion  - 
 
What is a microservices in Golang? How they communicate with each other?
1
Lars Tørnes Hansen's profile photoAlejandro Mery's profile photo
16 comments
 
+Lars Tørnes Hansen gokit.io, which is just a redirect to go-kit's github
Add a comment...

Eric Koston

Discussion  - 
 
Some using HTTP/2 in the production? https://github.com/bradfitz/http2
http2 - HTTP/2 support for Go (in active development)
4
Mohammed S. Al Sahaf's profile photoTim Scheuermann (NoTrace)'s profile photo
2 comments
 
I'm using it in private projects and it works like a charm.
Add a comment...

Daniel Eloff

Discussion  - 
 
Go gotchas, common mistakes, and traps for new gophers:
http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
42
12
rox lau's profile photoSzymon Wrożyński's profile photoJR Freeman's profile photoZhiwei Gu's profile photo
8 comments
 
Thanks for sharing this here Daniel!
Add a comment...

Eric Koston

Discussion  - 
 
Hi all,
I wanted to ask, have someone experience with Websocket in Golang. I know that Gorilla provide Websocket library but is Golang suitable for Websocket based application or Server Sent Event?
When using Websocket with Golang, it could appear problem with GC, i have read somewhere.  
Thank
2
1
Eric Koston's profile photoMarçal Juan Llaó's profile photoFumi Takeuchi (Q'sF.)'s profile photo
7 comments
 
It's supposed to be in June, but I read about August this year. Let's see.
Add a comment...