Browse Source

Goimports all files

master
Isaac 3 years ago
parent
commit
d1a6d52594
  1. 6
      account.go
  2. 3
      account_test.go
  3. 11
      acme.go
  4. 3
      acme_test.go
  5. 11
      order.go
  6. 3
      order_test.go

6
account.go

@ -1,12 +1,10 @@
package acme
import (
"net/http"
"fmt"
"crypto"
"encoding/json"
"fmt"
"net/http"
)
// NewAccount registers a new account with the acme service

3
account_test.go

@ -1,10 +1,9 @@
package acme
import (
"testing"
"crypto"
"reflect"
"testing"
)
func TestClient_NewAccount(t *testing.T) {

11
acme.go

@ -1,19 +1,16 @@
package acme
import (
"bytes"
"crypto"
"encoding/json"
"errors"
"fmt"
"io/ioutil"
"net/http"
"time"
"regexp"
"strings"
"bytes"
"crypto"
"errors"
"time"
)
const (

3
acme_test.go

@ -2,9 +2,8 @@ package acme
import (
"net/http"
"testing"
"reflect"
"testing"
)
func TestNewClient(t *testing.T) {

11
order.go

@ -1,17 +1,12 @@
package acme
import (
"net/http"
"crypto/x509"
"encoding/base64"
"errors"
"fmt"
"net/http"
"time"
"errors"
"crypto/x509"
)
// NewOrder initiates a new order for a new certificate.

3
order_test.go

@ -1,9 +1,8 @@
package acme
import (
"testing"
"reflect"
"testing"
)
func TestClient_NewOrder(t *testing.T) {

Loading…
Cancel
Save