summaryrefslogtreecommitdiff
path: root/cmd/rescribe/getembeds.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2021-07-13 11:54:00 +0100
committerNick White <git@njw.name>2021-07-13 11:54:00 +0100
commit45b0c3ed61b1a7b7d18090f483c5d9ff9cddec7b (patch)
tree13de0f1a0ac47c38e172e4082e6345a4c511e1bf /cmd/rescribe/getembeds.go
parente22c16ca84163636d674fb0935156f466169e1a3 (diff)
gofmt
Diffstat (limited to 'cmd/rescribe/getembeds.go')
-rw-r--r--cmd/rescribe/getembeds.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/rescribe/getembeds.go b/cmd/rescribe/getembeds.go
index a3edaf2..1747d82 100644
--- a/cmd/rescribe/getembeds.go
+++ b/cmd/rescribe/getembeds.go
@@ -11,9 +11,9 @@ package main
import (
"fmt"
"io"
+ "net/http"
"os"
"path"
- "net/http"
)
func dl(url string) error {
@@ -40,7 +40,7 @@ func dl(url string) error {
}
func main() {
- urls := []string {
+ urls := []string{
"https://rescribe.xyz/rescribe/embeds/tessdata.20210622.zip",
"https://rescribe.xyz/rescribe/embeds/tesseract-linux-v5.0.0-alpha.20210510.zip",
"https://rescribe.xyz/rescribe/embeds/tesseract-osx-v4.1.1.20191227.zip",