Skip to content

Commit

Permalink
format import
Browse files Browse the repository at this point in the history
  • Loading branch information
ledyba committed May 2, 2018
1 parent 96a9c35 commit 34ef7fa
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 21 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@

# How to build

```bash
go get -u "github.com/Sirupsen/logrus"
go get -u "golang.org/x/net/context"
go get -u "github.com/julienschmidt/httprouter"
go get -u "gopkg.in/yaml.v2"
go get -u "github.com/nfnt/resize"
go get -u "github.com/oliamb/cutter"
go get -u "github.com/disintegration/imaging"
```
4 changes: 1 addition & 3 deletions web/entity.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package web

import (
"io"
"net/http"

"os"

"io"

"github.com/julienschmidt/httprouter"
)

Expand Down
17 changes: 5 additions & 12 deletions web/moment.go
Original file line number Diff line number Diff line change
@@ -1,21 +1,14 @@
package web

import (
"net/http"

"strconv"

"math/rand"

"time"

"encoding/json"

"math"

"fmt"

"math"
"math/rand"
"net/http"
"strconv"
"strings"
"time"

"github.com/FairyRockets/the-gear-of-seasons/entity"
"github.com/FairyRockets/the-gear-of-seasons/moment"
Expand Down
3 changes: 1 addition & 2 deletions web/moment_cache.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package web

import (
"sync"

"fmt"
"regexp"
"sync"

"github.com/FairyRockets/the-gear-of-seasons/entity"
"github.com/FairyRockets/the-gear-of-seasons/moment"
Expand Down
6 changes: 2 additions & 4 deletions web/server.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
package web

import (
"fmt"
"html/template"
"net/http"
"time"

"fmt"

"path/filepath"
"time"

"github.com/FairyRockets/the-gear-of-seasons/entity"
"github.com/FairyRockets/the-gear-of-seasons/moment"
Expand Down

0 comments on commit 34ef7fa

Please sign in to comment.