I hereby claim:
- I am Cocotton on github.
- I am cocotton (https://keybase.io/cocotton) on keybase.
- I have a public key whose fingerprint is 155D 1D10 6A67 A322 40A4 206D 4FD5 8ADC 56CF 0C98
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
... | |
masterCloudConfig, err := r.cloudConfig.NewMasterCloudConfig(cluster) | |
if err != nil { | |
return Deployment{}, microerror.Mask(err) | |
} | |
data, _ := base64.StdEncoding.DecodeString(masterCloudConfig) | |
rdata := bytes.NewReader(data) | |
k, _ := gzip.NewReader(rdata) | |
s, _ := ioutil.ReadAll(k) |
#cloud-config | |
write_files: | |
- path: /home/core | |
permissions: '0755' | |
content: | | |
# Hello my dude |
package example1 | |
import ( | |
"fmt" | |
"..../test" | |
"..../exampleDB" | |
) | |
func main() { | |
// object is of type test.Test for demo purposes |
package main | |
import ( | |
"os" | |
"gopkg.in/mgo.v2" | |
"github.com/gorilla/mux" | |
"github.com/myUser/myProject/myProject/somePackage" | |
) | |
// This could be into an Example package |
var testPRMessageTests = []struct { | |
message string | |
expected error | |
}{ | |
{"Merge pull request #4 in ABC/def from some_branch to master\n\nMerge comment\n\n* commit '1h2e09d3029370d92723'", nil}, | |
{"Merge pull request #4 in ABC/def from some_branch to master\n", %%%WHAT_COMES_HERE%%%}, | |
} | |
func TestTestPRMessage(t *testing.T) { | |
for _, test := range testPRMessageTests { |
0 |