Usually integration tests take long time, because they’re doing real requests to real system. And it’s not necessary to run them every time we type go test. For example we have Golang client to work with PayPal SDK, it has some exported functions to send data to PayPa...
    
    
    
    
    
    
        In some of my projects we have code that needs to run external executables, and it’s very difficult to test them, especially when your function is based on some kind of stdout parcing. So how to mock these commands in Go? Let’s check how this goal is achieved in os/ex...
    
    
    
    
    
    
        In Flow-Based Programming, programs are modeled as data flowing between independent processing units. Who would not think of channels and goroutines as a natural analogy?
    
    
    
    
    
    
        Updated on February 28th, 2017
Prelude
This post is part of a series of posts designed to make you think about your own design philosophy on different topics. If you haven’t read these posts yet, please do so first:
Develop Your Design Philosophy
Design Philosophy On Packaging...
    
    
    
    
    
    
        Usually when we share a runnable Go code we do: copy code, open Go Playground, paste code, click Share.
    
    
    
    
    
    
        
    
    
    
    
    
    
        Prelude
This post is part of a series of posts designed to make you think about your own design philosophy on different topics. If you haven’t read this post yet, please do so first:
Develop Your Design Philosophy
After this post, read this next one:
Package Oriented Design
Int...
    
    
    
    
    
    
        Go team has released new version on February 16. You can get it from the download page. To celebrate the release, Go User Groups around the world are holding release parties this week.
    
    
    
    
    
    
        This is a long overdue follow up to my glibc’s dynamic linker/loader post from last year. With the Go 1.8 release around the corner, which adds support for dynamic plugins, this is a good time to revisit the topic.
Plugins in Go are described by Ian Lance Taylor in the &ldq...
    
    
    
    
    
    
        For the past year, I had worked really hard with Packt publishing on building an advanced video course about the Go language called “Mastering Go Programming“. Mastering Golang Programming is an extensive video course on the world of the Go language. The Go programming lang...