Go

RHEL
Article

Announcing GA for latest Software Collections, Developer Toolset, Compilers

Mike Guerette

We are pleased to announce the general availability of: Red Hat Software Collections 3.1 (Ruby 2.5, Perl 2.26, PHP 7.0.27, PostgreSQL 10, MongoDB 3.6, Varnish 5, HAProxy 1.8, Apache 2.4 update) Red Hat Developer Toolset 7.1 (GCC 7.3) Clang/LLVM 5.0, Go 1.8.7, Rust 1.25.0

GNU C library
Article

Recommended compiler and linker flags for GCC

Florian Weimer

This article walks through a list of recommended build flags for when you compile your C or C++ programs with GCC. Do you know which build flags you need to specify in order to obtain the same level of security hardening that GNU/Linux distributions such as Fedora and Red Hat Enterprise Linux use?

Getting started with go-toolset
Article

Getting started with go-toolset

Jakub Čajka

One of the new software collections we’ve introduced this fall is for Go , the programming language that aims to make it easy to build simple, reliable, and efficient software. Go is a compiled, statically typed language in the C/C++ tradition with garbage collection, concurrent programming support, and memory safety features. In go-toolset-7, we’re including everything you need to start programming in Go on Red Hat Enterprise Linux 7, in the familiar format of software collections. In this release, we’re...

Red Hat Wimplicit
Article

Manage test dependencies with Go

Konrad Kleine

Introduction I'm working on the upstream fabric8-wit project of openshift.io . In this Go project, we embrace testing as best as we can in order to deliver a stable component. Testing acts as our safety net to allow for fast-paced feature development. This blog post is about our recent change in our testing strategy. It is not as boring as it might sound at first. ;-) Problem description We've changed out the data-model quite a lot and it took us...

Fedora logo
Article

Basics of Go in Fedora

Jakub Čajka

Why use RPMs (distribution packages in general) at all ?! Distribution RPMs enables you to get signed curated content, with security updates, bug fixes, general updates, some level of testing, and known ways of reproducing the build locally. Of course, it has its cost mostly in the package size overhead and packaging infrastructure overhead (yum, dnf, apt....). Why package and use distribution (Fedora) packages? This helps to manage a stable subset of the go world. As many upstreams do not...

Article Thumbnail
Article

Using the Kubernetes Client for Go

Mike Dame

The Kubernetes client package for Go provides developers with a vast range of functions to access data and resources in a cluster. Taking advantage of its capabilities can allow the opportunity to build powerful controllers, monitoring and managing your cluster, beyond the scope of what is offered by stock OpenShift or Kubernetes setups. For example, the PodInterface allows you to list, update, delete, or get specific pods either by namespace or across all namespaces. This interface is complemented by similar...