mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 09:37:02 +00:00
Update travis golang to 1.4.2, run gofmt -s
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
language: go
|
||||
|
||||
go:
|
||||
- 1.2
|
||||
- 1.4.2
|
||||
- tip
|
||||
|
||||
install:
|
||||
|
||||
@@ -507,7 +507,7 @@ func (ses *Session) loadMailbox() {
|
||||
// Reset retain flag to true for all messages
|
||||
func (ses *Session) retainAll() {
|
||||
ses.retain = make([]bool, len(ses.messages))
|
||||
for i, _ := range ses.retain {
|
||||
for i := range ses.retain {
|
||||
ses.retain[i] = true
|
||||
}
|
||||
ses.msgCount = len(ses.messages)
|
||||
|
||||
Reference in New Issue
Block a user