Minor changes
Spelling error modified headlessQuery string removing Sprint
This commit is contained in:
@@ -2,7 +2,6 @@ package main
|
||||
|
||||
import (
|
||||
"archive/tar"
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"net/http"
|
||||
@@ -13,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
func downloadHeadless() {
|
||||
headlessQuery := fmt.Sprintf("https://www.factorio.com/get-download/latest/headless/linux64")
|
||||
headlessQuery := "https://www.factorio.com/get-download/latest/headless/linux64"
|
||||
|
||||
url := headlessQuery
|
||||
resp, err := http.Get(url)
|
||||
|
||||
Reference in New Issue
Block a user