workbench

package module
v1.1.0-dotfiles Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2018 License: Unlicense Imports: 0 Imported by: 0

README

golang-workbench

Messing around with Go

Documentation

Overview

Package workbench - messing around, breaking stuff... you know, learning!

Directories

Path Synopsis
aws
iam
Package aws2tf ingests JSON from AWS CLI and emits Terraform templates.
Package aws2tf ingests JSON from AWS CLI and emits Terraform templates.
codewars
buying-a-car
Package kata - https://www.codewars.com/kata/buying-a-car
Package kata - https://www.codewars.com/kata/buying-a-car
to-square-root-or-not-to-square-root
Package kata - https://www.codewars.com/kata/to-square-root-or-not-to-square-root/train/go
Package kata - https://www.codewars.com/kata/to-square-root-or-not-to-square-root/train/go
concurrency
fan_out-fan_in
CHALLENGE: -- Change the code to execute 1,000 factorial computations concurrently and in parallel.
CHALLENGE: -- Change the code to execute 1,000 factorial computations concurrently and in parallel.
pipeline-pattern
An example of the pipeline pattern that I wrote as part of a training course.
An example of the pipeline pattern that I wrote as part of a training course.
docker
v1.0
v1.1
v1.2
encoding
json/marshal
Practising with JSON marshaling.
Practising with JSON marshaling.
Find a problem at projecteuler.net then create the solution.
Find a problem at projecteuler.net then create the solution.
github
go_rest_api
cmd/app
Basic building blocks of the app.
Basic building blocks of the app.
pkg
Package root defines some fundamental types.
Package root defines some fundamental types.
pkg/mock
Package mock provides some mocks to test with.
Package mock provides some mocks to test with.
pkg/mongo
Package mongo interfaces with MongoDb for us.
Package mongo interfaces with MongoDb for us.
pkg/server
Package server defines internal behaviour.
Package server defines internal behaviour.
Package fizzbuzz implements a basic function for this lovely interview question.
Package fizzbuzz implements a basic function for this lovely interview question.
From: https://www.progville.com/go/goquery-jquery-html-golang/
From: https://www.progville.com/go/goquery-jquery-html-golang/
adventofcode
Gets stories from AoC
Gets stories from AoC
The 'defer' keyword will defer execution until the end of that block.
The 'defer' keyword will defer execution until the end of that block.
Playing around with html.Parse from the (extended) standard library.
Playing around with html.Parse from the (extended) standard library.
A tiny HTTP server, using some packages from the standard library.
A tiny HTTP server, using some packages from the standard library.
post
Makes a HTTP POST request to talk to the Google Translate API.
Makes a HTTP POST request to talk to the Google Translate API.
See the accompanying README.
See the accompanying README.
interfaces
chaining
Chaining things together through the magic of interfaces!
Chaining things together through the magic of interfaces!
jordanorelli
Playing with JSON marshaling combined with parsing timestamp fields.
Playing with JSON marshaling combined with parsing timestamp fields.
reflect
The 'reflect' package in the standard library lets Go examine aspects of itself at runtime.
The 'reflect' package in the standard library lets Go examine aspects of itself at runtime.
os
go-env
Spitting out all available environment variables
Spitting out all available environment variables
output
Calling another command to do things over there, capture output, and bring it back.
Calling another command to do things over there, capture output, and bring it back.
run
Run something else in the shell
Run something else in the shell
A concurrent prime sieve https://golang.org/doc/play/sieve.go
A concurrent prime sieve https://golang.org/doc/play/sieve.go
me
Playing around with this prime sieve example from the golang.org front page.
Playing around with this prime sieve example from the golang.org front page.
How do text templates work?
How do text templates work?
Go is reasonably nice and clever about default values for builtin variable types.
Go is reasonably nice and clever about default values for builtin variable types.
Provide command-line arguments in the form of 'YYYY-mmm-DD' where: - YYYY is a four digit year - mmm is a three letter month abbreviation (Jan, Feb, Mar, et al) - DD is a two digit date
Provide command-line arguments in the form of 'YYYY-mmm-DD' where: - YYYY is a four digit year - mmm is a three letter month abbreviation (Jan, Feb, Mar, et al) - DD is a two digit date

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL