Tag : golang

Switching to Go Modules

Package management has not been part of core Golang before. Each year, there has been a different de facto standard. In recent years, it was “official [core team] experiment” dep. Finally, we have Go Modules. In this blog post I’ll share the quick guide starting a new project with Go Modules and the solution to

Dr Nic Williams Profile Image

Posted by:
Dr Nic Williams

Read More ➝
Code spelunking to build a CF Plugin

This is a quick "how to" for how Long found the information he needed to build the cf info plugin. Following a trail of breadcrumbs Determine the requirements: Print the currently targeted org and space Print the API version and endpoint Print the user id of the current user (similar to whoami in *nix OSes).

Quintessence Anx Profile Image

Posted by:
Quintessence Anx

Read More ➝
How To Install Go on Digital Ocean with a CentOS7 Droplet

I will mostly be following the instructions from here, but instead of Ubuntu I am going to try CentOS. Getting Started All you will need to start, aside from the obvious internet connection, is a Digital Ocean account. I’ve found that the $5/mo. plan is really good for learning. Spin up your droplet This is

Quintessence Anx Profile Image

Posted by:
Quintessence Anx

Read More ➝
Simple Golang OAuth client for Cloud Foundry

Cloud Foundry UAA allows OAuth clients to be used to leverage the users of Cloud Foundry. This allows you to create apps without maintaining another user database. A free single-signon (SSO) for all your applications! Golang makes it easy to write applications that use SSO – by being OAuth clients for UAA (and your pretty/themed

LongNguyen Profile Image

Posted by:
LongNguyen

Read More ➝
New languages, new woes: tonight’s Golang roadblock

Right now I’m working on learning Go by writing a small app that will, eventually, take a Markdown file and convert it to an HTML presentation. When I started working on my program today, my code wouldn’t compile. It was referring to missing packages/etc. I thought, well this can’t be good. First step, check $GOPATH

Quintessence Anx Profile Image

Posted by:
Quintessence Anx

Read More ➝
Building agents in Go that talk with Consul agent

Consul makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface, provides built-in health checks, and more. It also includes a key-value store similar to Etcd or Zookeeper. I’m starting to think of a local Consul agent – either running in client or server mode –

Dr Nic Williams Profile Image

Posted by:
Dr Nic Williams

Read More ➝