Stream

Join this community to post or comment
There are many great introductions to slices in Golang:
5
Add a comment...

Luis Alvarado

Discussion  - 
 
Hi everyone, am looking for more information about the state of net/http versus fasthttp in regards to the enhancements net/http will be getting on 1.8 and reasoning behind not incorporating the performance enhancement of fasthttp to the net/http. In general it looks like it performs much better than net/http, so wanted to know if this would be adapted by net/http If anybody can please give me some information into this, it would help a lot. Thank you.
1
Jeff R. Allen's profile photoLuis Alvarado's profile photo
3 comments
 
Both are excellent comments full of information. Thank you. 
Add a comment...
3
Carl Gay's profile photoRoss Light's profile photo
8 comments
 
I agree with Rob that this doesn't make sense for locks. When using it with a function that returns a meaningful value, this idiom has the advantage that the compiler will error if you don't use the close/cancel function. However, if the function can fail, then io.Closer is more appropriate.
Add a comment...
 
@robjloranger I'd be happy to hear what could be improved to it. Can you please ping me either here or on Gophers Slack? Thank you! __rogersherman__. 1 h1 ora fa. __rogersherman__ @rogersherman. @Todd_McLeod Have you tried it? I love Jetbrains IDEs, and have been enjoying the Gogland ...
13
1
Rick Deckard's profile photoIvan Kirkpatrick's profile photo
3 comments
 
I have been using this for a week now and I am liking it so far. Probably not finished learning everything it might help me with but it is quite useful.
Add a comment...

Davor Kapša

Show and tell  - 
6
Add a comment...

Koala Yeung

Packages  - 
 
A silly little library to implement fastcgi "client" (i.e. web server role in the spec) with Golang.

Wrote it around a year ago for fun. Got a fork lately. Seems it can be useful to someone :-)

https://github.com/yookoala/gofast
gofast is a FastCGI client library written purely in go
3
Add a comment...

Richard Musiol

Discussion  - 
 
Is there any Gopher out there with a strong background in theoretical computer science?
2
David Collier-Brown's profile photoUche Eke's profile photo
2 comments
 
Have you tried contacting Dave Cheney? He used to have a G+ account but I can't find it at the moment, (His profile pic was a cat with sunglasses!) and he was a major contributor to this community for quite a while. You can find him here however:

dave.cheney.net - About | Dave Cheney
Add a comment...
Formal grammar specifies what constitutes syntactically valid program in Go (or other programming language):
8
1
Add a comment...

Jan Mercl

Discussion  - 
 
[ANN]

Browse packages in the terminal. The "rough at the edges" release.
browse - Terminal Go Source Code Browser
7
Yves Junqueira's profile photoJan Mercl's profile photo
2 comments
 
+Yves Junqueira​ I actually tried two different terminal screen recorders before releasing, but the results were unusable. The problem is in how the screen content is updated, which is quite different compared to, say a tilled window manager.

I guess using a general (video) screen recorder would be even worse, I mean, I don't want to add a multi MB "marketing" thing dwarfing the actually usable repo content.
Add a comment...
 
I am new to golang. Employer send me a test exercise and turned me down without further explanations.

I'll appreciate if someone would tell me what's wrong with my code, there're only 110 lines of it. Here's a link with test description and implementation:

https://gist.github.com/dmokhov/6539a2d920dec7e140ba02ea6f917ed8

If it's not right place to ask for such help, please advise more appropriate.

golang test exercise
5
Michael McGreevy's profile photoAlexander F Rødseth's profile photo
5 comments
 
Can't see anything wrong with it, just nitpicks.

Keep in mind that employers usually reject people not because they have done anything "wrong" (they can be excellent candidates) but because they have found a good fit for the job in another person.
Add a comment...

About this community

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

Matt Proud

Discussion  - 
 
Plush Go Gophers from the Kickstarter arrived not long ago. The large one's named Memory Leak. (Bottle of Westvleteren provided for scale)
23
1
Niklas Jarl's profile photoMatt Proud's profile photo
4 comments
 
My only critique of the product of this Kickstarter — again, don't mean this negatively to project — is that the first-iteration Gophers are a bit too pill shaped. They seem to be missing a slight crease/indentation in the abdomen to differentiate the body: https://blog.golang.org/gopher.
Add a comment...

Kevin Powick

Discussion  - 
 
C to Go "cheat sheet"
version. c, go. version used, C11, gcc 4.8, clang 3.5, 1.4. show version, $ gcc --version, $ go version. implicit prologue, #include #include #include #include #include #include , import "fmt". grammar and invocation. c, go. hello world, $ cat hello.
13
3
Jeff R. Allen's profile photo
 
I don't know how I feel about this... if you wrote Go only using that sheet, it would not necessarily be idiomatic.
Add a comment...

Kenny Grant

Discussion  - 
53
20
Add a comment...

Davor Kapša

Show and tell  - 
 
You can find discussions on Hacker News and Reddit
10
1
Nicola Larosa's profile photo

Davor Kapša

Show and tell  - 
24
4
David Collier-Brown's profile photo
 
A carol for java/script victims
Add a comment...
 
https://medium.com/golangspec - To understand Go’s specification. It's already quite rich in content touching topics like type system, methods, synchronization (including basics about f.ex. sync package) or concurrency.
8
2
Michał Łowicki's profile photoRuslan Boev (Indexator)'s profile photo
3 comments
 
+Michał Łowicki
That's great! Thank you so much! 😊
Add a comment...

Abhimanyu Aryan

Discussion  - 
 
anyone creating plugins(I don't know what they call it) for Revel(MVC) framework?

Rails has a lot #Gems similarly for fullstack JS lots of packages with #NPM. What about GO? 
1
Lars Tørnes Hansen's profile photoPaul Tötterman's profile photo
2 comments
 
Ruby has gems, go has packages. Rails has plugins, revel has modules ( github.com - revel/modules )
Add a comment...