Stream

Join this community to post or comment

Davor Kapša

Show and tell  - 
1
Add a comment...

Phu Hiep DUONG

Show and tell  - 
 
* Docker (and related projects)
* InfluxDB (time series data)
* Gogs (the clone of Github Server run on your own hardware! chinese guys make me thrills)
* Lime
* cockroachdb
* Flynn (PAAS)
From application virtualization to self-hosted Git services, Google Go is becoming the tool of choice for forward-thinking projects
20
7
Kenny DeWitt's profile photoArash Bannazadeh-Mahani's profile photoBret Naylor's profile photoJim Robinson's profile photo
4 comments
 
This article is from 2014...
Add a comment...

Jens Rantil

Show and tell  - 
 
Just put together an minimalistic reverse HTTP proxy that makes it possible to expose an Amazon S3 bucket using Basic Auth. https://github.com/JensRantil/s3-basic-auth-proxy Maybe useful to someone don't know.
1
Add a comment...
 
We are hiring Go software engineers in Seoul, Korea! Working from home is possible if you live in outside of Korea.

https://www.linkedin.com/jobs2/view/144666629?trk=biz-overview-job-post
4
Add a comment...

Davor Kapša

Show and tell  - 
 
How many times a day do you break your flow to look up unfamiliar code and see how it’s used? Automating that process would save you hours…
12
4
Nils Gerstner's profile photodashan xu's profile photo
Add a comment...

David Cheney

Show and tell  - 
 
A few months ago, at GoCon 2016, I gave a presentation on my philosophy for error handling. In the talk I introduced a small errors package designed to support the ideas presented in the talk.

This post is an update to my previous blog post which reflects the changes in the errors package as I’ve put it into service in my own projects.
A few months ago, at GoCon 2016, I gave a presentation on my philosophy for error handling. In the talk I introduced a small errors package designed to support the ideas presented in the talk. This post is an update to my previous blog post which reflects the changes in the errors package as ...
34
3
Timo Liebetrau (diiimo2k11)'s profile photoGomgoru Koee's profile photo
Add a comment...

Milica Maksimović

Tips and tricks  - 
 
Great tutorial: How to Use Godog for #BDD in #Golang
Get started with Godog — a Behavior-driven development framework for building and testing Go applications.
19
5
Gomgoru Koee's profile photoMichael Roach's profile photo
Add a comment...
 
A not fancy Event Loop for otto, the pure Go JavaScript engine - subscribe, unsubscribe and emit.
https://github.com/dc0d/isottope
4
Add a comment...

CodinGame

Show and tell  - 
 
Go 1.6.2 is now available on CodinGame!
Did you know that on the last contest #SmashtheCode, the 10 first players were using C++ but for the runner-up who used Go? 
Get your international coder rank on CodinGame and see how you stack up against worldwide programmers!
10
Add a comment...

László Csontos

Show and tell  - 
 
Hi Everyone,

I'm making a free cheat sheet series for newbies to help them learn Go. I've just completed the first one in this series about strings: https://payhip.com/b/UyHJ

Which part of Go would you like to see in a cheat sheet format? Let me know and I gladly create them.

Cheers,
László
4
1
Kevin Powick's profile photoLászló Csontos's profile photoRoland Balint's profile photo
6 comments
 
That's very valuable feedback +Kevin Powick, I'll change the font type then.
Add a comment...

About this community

News and discussion about the Go Programming Language. golang.org
 
Hi all,
i just startet over to play a little woe Go again. There is a point i don't get and i hope some of you can explain better then the google results i found.

I understand and appreciate the idea of packages and the way you import them. What i don't get is that if you write your code you'll have several smaller files you don't want to reuse (some classes for example).

So, any hints appreciated! Thanx in advance for answers to such a newbie question!

When i intend to use them while writing i don't have to import them as they are in the same package. OK, makes sense. But when i run or build my main file i do get errors as:

./httop.go:11: undefined: MachineState

what i have to do then is write

go run httop.go MachineState.go

and then it'll run. Well i don't want to this with dozens of classes/files. What do i have to do that main package files will be resolved from the main file without to put them in a separate package? Or do i have to put every other file but the one containing main() in packages really?

I know how to work around that, but i didn' really get how it is intended to work correct using importet but not reusable code.
1
Karsten Wegmeyer's profile photo
5 comments
 
And there is one more thing to ask:

When i do create al local package and adress it in the imort i.e. like:

import (
"httop/localclasses"
)

gofmt and the linter will remove this import and thus building will break.
But when i delcare it like

import (
MYCLASSES "httop/localclasses"
)

and later on generate i.e.:

s := &MYCLASSES.MachineState{}


why is that? I get the feeling that this package system is a good idea that had been a little overdone. I mean there won't be people putting any thing in one single file won't they? And not every bit of code is made for reusage. Why do i have to alias such an sub-package to use it? What is the difference to using it natively? And why will it be removed when i try?

Again a bit of light on that would help. Thank you!
Add a comment...

David Cheney

Discussion  - 
 
What do we want? Version management for Go packages! When do we want it? Yesterday!
What does everyone want? We want our Go build tool of choice to fetch the latest stable version when you start using the package in your project. We want them to grab security updates and bug fixes automatically, but not upgrade to a version were the author deleted a method you were using.
23
1
Thomas Broyer's profile photoGary Capell's profile photo
 
Next step: bikeshed about version conflict resolution.
Add a comment...

Davor Kapša

Tips and tricks  - 
 
Automatically run your package's tests with inotifywait. This is a short post to illustrate how I use the inotifywait command as a cheap and cheeful way to run my tests automatically on save. Note: inotify is only available on linux, sorry OS X users.
2
Add a comment...

Jason Snow

Show and tell  - 
 
I am working on learning Go and have created a simple CLI application that checks a username or email address against the haveibeenpwned.com API. I welcome feedback and suggestions

https://github.com/jyksnw/gocyp
2
1
Michael Murphy's profile photoJason Snow's profile photoCarlos Alberto Costa Beppler's profile photo
4 comments
 
+Michael Murphy Awesome, once I have finished wrapping my head around Go I will have to give Rust a try.
Add a comment...

Davor Kapša

Show and tell  - 
 
Go 1.7beta2
Downloads. After downloading a binary release suitable for your system, please follow the installation instructions. If you are building from source, follow the source installation instructions. See the release history for more information about Go releases.
2
Davor Kapša's profile photo
Add a comment...

David Cheney

Show and tell  - 
 
gb version 0.4.2 is a minor bug fix release which adds one new feature, nope mode.

## Nope mode
Passing -n to gb test will cause the test binary to be compiled as per usual, however the execution will be skipped.

Nope mode is conceptually the same as gb test -run=XXX (or some other non-matching regexp) but also avoids expensive initalisation if your test binaries do a lot of setup work before hitting testing.main.
gb · gb version 0.4.2 released
1
Add a comment...

Davor Kapša

Show and tell  - 
 
Travis Reeder joins the show today to talk about Iron.io, early Go adoption, how Iron.io helps with GoSF and other events for the Go community, the implications of containers at scale, and more.
1
Add a comment...

Davor Kapša

Show and tell  - 
 
Drive
2016 State of Go SurveyAre you a current, or former Go user? If so, we want to hear from you! I've created a survey for the Go community to help gauge current usage; what Go is being used for; where is Go being used and why is Go being used. The survey will run through the second day of GopherCon Denver on July 12, 2016. I hope to do a lightning talk with some results on July 13, 2016 and/or a follow up blog post later in July. Unless you choose to enter your email,...
1
1
Jacek Wysocki's profile photo
Add a comment...

Yasuhiro MATSUMOTO

Introductions  - 
 
Hi, gophers.

I wrote a tool called "cho", which is similar to peco/percol. Works as inline-selector on console.

https://github.com/mattn/cho

https://raw.githubusercontent.com/mattn/cho/master/cho.gif

And also, I wrote a library called go-tty that was part of cho. This will work well to write console applictions.

https://github.com/mattn/go-tty

Currently, this provide ReadRune and ReadPassword (with "*"). As far as I know, most of libraries that provid password prompt for go doesn't work correctly. For example:

$ ls | pasword-input | cat

But go-tty works good on OSX/Linux/BSD/Windows. Try this if having interesting.

- mattn

Contribute to go-tty development by creating an account on GitHub.
5
Ivan Nudzik's profile photoYasuhiro MATSUMOTO's profile photo
4 comments
 
No, tcell is too large to me.
Add a comment...

Davor Kapša

Show and tell  - 
 
Go 1.7beta1
Downloads. After downloading a binary release suitable for your system, please follow the installation instructions. If you are building from source, follow the source installation instructions. See the release history for more information about Go releases.
12
1
Davor Kapša's profile photoHIMANSHU MNIT's profile photo
Add a comment...