Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Commit

Permalink
all: upgrade to go1.7
Browse files Browse the repository at this point in the history
Note that golang.org/x/crypto/acme is still using x/net/context.
  • Loading branch information
Alex Vaghin committed Sep 20, 2016
1 parent 4ce0cda commit 632f1d9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clone:
depth: 1
build:
image: golang
image: golang:1.7
commands:
- go get ./...
- go test ./...
2 changes: 1 addition & 1 deletion cert.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
package main

import (
"context"
"crypto/rand"
"crypto/x509"
"crypto/x509/pkix"
Expand All @@ -26,7 +27,6 @@ import (
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion reg.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
package main

import (
"context"
"fmt"
"path/filepath"
"strings"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion update.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
package main

import (
"context"
"os"
"path/filepath"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion who.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
package main

import (
"context"
"os"
"path/filepath"
"time"

"golang.org/x/crypto/acme"
"golang.org/x/net/context"
)

var (
Expand Down

0 comments on commit 632f1d9

Please sign in to comment.