Commit 488804d5 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

[CI] Update for Go 1.6

parent e6553f47
Pipeline #177 passed with stage
......@@ -47,4 +47,4 @@ Code lint:
- "./build/deps.sh"
- "go install ./..."
- "gometalinter --install"
- "gometalinter -t --deadline=100s -j1 ./..."
- "gometalinter -t --deadline=300s -j1 --skip=api --skip=fixtures ./..."
#!/bin/sh
# mongo
go get gopkg.in/mgo.v2
# grpc
go get google.golang.org/grpc
# uuid
go get github.com/pborman/uuid
\ No newline at end of file
go get -u gopkg.in/mgo.v2
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u google.golang.org/grpc
go get -u github.com/pborman/uuid
......@@ -129,7 +129,7 @@ func createHeader(sender, subject, boundary string) string {
}
// Create the full message for a single receiver
func createFullMessage(b *bytes.Buffer, receiver, sender, globalHeader, base64Message string, extensions, filenames []string, boundary string) error {
func createFullMessage(b io.Writer, receiver, sender, globalHeader, base64Message string, extensions, filenames []string, boundary string) error {
fmt.Fprintf(b, "%s%s\r\n", globalHeader, receiver)
writer := multipart.NewWriter(b)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment