I hereby claim:
- I am christophberger on github.
- I am christophberger (https://keybase.io/christophberger) on keybase.
- I have a public key ASC8b-gcdQzzyAjieAUZNehGbw2z1Fd2V2xp8SduLfHYxAo
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { |
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import "fmt" | |
| // The interface. | |
| type interf interface { | |
| Method(string) string | |
| } | |
| // A struct. |
| /*A command-line tool for setting the mouse speed on Windows machines. | |
| This comes in handy when using different mouses (e.g. at work and at home) | |
| that require different speed settings. | |
| Dependencies: sys package (go get golang.org/x/sys/...) | |
| License: | |
| Copyright (c) 2015, Christoph Berger <[email protected]> |
| // Functional Options | |
| // Written to help me wrapping my brains around Functional Options - see this | |
| // blog post about a speech by Dave Cheney: | |
| // http://dotgo.sourcegraph.com/post/99643162983/dave-cheney-functional-options | |
| // | |
| // The idea behind Functional Options: | |
| // How to add options to an API later without breaking the API? | |
| // Solution: | |
| package main |