Tag : golang
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
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).
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
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
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
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 –