Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpcs
dfss
Commits
488804d5
Commit
488804d5
authored
Jan 26, 2016
by
Loïck Bonniot
Browse files
[CI] Update for Go 1.6
parent
e6553f47
Pipeline
#177
passed with stage
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
488804d5
...
...
@@ -47,4 +47,4 @@ Code lint:
-
"
./build/deps.sh"
-
"
go
install
./..."
-
"
gometalinter
--install"
-
"
gometalinter
-t
--deadline=
1
00s
-j1
./..."
-
"
gometalinter
-t
--deadline=
3
00s
-j1
--skip=api
--skip=fixtures
./..."
build/deps.sh
View file @
488804d5
#!/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
mails/email.go
View file @
488804d5
...
...
@@ -129,7 +129,7 @@ func createHeader(sender, subject, boundary string) string {
}
// Create the full message for a single receiver
func
createFullMessage
(
b
*
bytes
.
Buff
er
,
receiver
,
sender
,
globalHeader
,
base64Message
string
,
extensions
,
filenames
[]
string
,
boundary
string
)
error
{
func
createFullMessage
(
b
io
.
Writ
er
,
receiver
,
sender
,
globalHeader
,
base64Message
string
,
extensions
,
filenames
[]
string
,
boundary
string
)
error
{
fmt
.
Fprintf
(
b
,
"%s%s
\r\n
"
,
globalHeader
,
receiver
)
writer
:=
multipart
.
NewWriter
(
b
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment