Ver a proveniência
Merge pull request #12 from abhinav/goimports
style: Run goimports on everything
pull/17/head
Matt Baer
há 5 anos
committed by
GitHub
ascendente
cometimento
68e987de6e
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
5 ficheiros alterados com
7 adições e
11 eliminações
README.md
auth_test.go
post_test.go
user.go
writeas.go
@@ -63,7 +63,7 @@ func main() {
The library covers our usage, but might not be comprehensive of the API. So we always welcome contributions and improvements from the community. Before sending pull requests, make sure you've done the following:
* Run `go fmt ` on all updated .go files.
* Run `goimports ` on all updated .go files.
* Document all exported structs and funcs.
## License
@@ -1,8 +1,6 @@
package writeas
import (
"testing"
)
import "testing"
func TestAuthentication(t *testing.T) {
dwac := NewDevClient()
@@ -1,10 +1,9 @@
package writeas
import (
"testing"
"fmt"
"strings"
"testing"
)
func TestCreatePost(t *testing.T) {
@@ -1,8 +1,6 @@
package writeas
import (
"time"
)
import "time"
type (
// AuthUser represents a just-authenticated user. It contains information
@@ -3,13 +3,14 @@ package writeas
import (
"bytes"
"code.as/core/socks"
"encoding/json"
"fmt"
"github.com/writeas/impart"
"io"
"net/http"
"time"
"code.as/core/socks"
"github.com/writeas/impart"
)
const (