go fmt
This commit is contained in:
parent
95db447b7c
commit
9f4442db79
|
@ -1,11 +1,11 @@
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pboehm/ddns/config"
|
|
||||||
"github.com/pboehm/ddns/hosts"
|
|
||||||
"bufio"
|
"bufio"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/pboehm/ddns/config"
|
||||||
|
"github.com/pboehm/ddns/hosts"
|
||||||
"io"
|
"io"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
package backend
|
package backend
|
||||||
|
|
||||||
import (
|
import (
|
||||||
c "github.com/pboehm/ddns/config"
|
|
||||||
h "github.com/pboehm/ddns/hosts"
|
|
||||||
"bufio"
|
"bufio"
|
||||||
"bytes"
|
"bytes"
|
||||||
"errors"
|
"errors"
|
||||||
|
c "github.com/pboehm/ddns/config"
|
||||||
|
h "github.com/pboehm/ddns/hosts"
|
||||||
"github.com/stretchr/testify/assert"
|
"github.com/stretchr/testify/assert"
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
2
ddns.go
2
ddns.go
|
@ -1,11 +1,11 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"flag"
|
||||||
"github.com/pboehm/ddns/backend"
|
"github.com/pboehm/ddns/backend"
|
||||||
"github.com/pboehm/ddns/config"
|
"github.com/pboehm/ddns/config"
|
||||||
"github.com/pboehm/ddns/hosts"
|
"github.com/pboehm/ddns/hosts"
|
||||||
"github.com/pboehm/ddns/web"
|
"github.com/pboehm/ddns/web"
|
||||||
"flag"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
package hosts
|
package hosts
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/pboehm/ddns/config"
|
|
||||||
"github.com/garyburd/redigo/redis"
|
"github.com/garyburd/redigo/redis"
|
||||||
|
"github.com/pboehm/ddns/config"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
package web
|
package web
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"fmt"
|
||||||
"github.com/pboehm/ddns/config"
|
"github.com/pboehm/ddns/config"
|
||||||
"github.com/pboehm/ddns/hosts"
|
"github.com/pboehm/ddns/hosts"
|
||||||
"fmt"
|
|
||||||
"gopkg.in/gin-gonic/gin.v1"
|
"gopkg.in/gin-gonic/gin.v1"
|
||||||
"html/template"
|
"html/template"
|
||||||
"log"
|
"log"
|
||||||
|
|
Loading…
Reference in New Issue