move tests to dedicated package
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
database_file_path = "file::memory:?cache=shared"
|
database_file_path = "file::memory:?cache=shared"
|
||||||
|
|
||||||
# The path to the sql file to load for demo data.
|
# The path to the sql file to load for demo data.
|
||||||
demo_data_path = "./demodata.sql"
|
demo_data_path = "../../demodata.sql"
|
||||||
|
|
||||||
# The port to listen on for the server.
|
# The port to listen on for the server.
|
||||||
port = "8080"
|
port = "8080"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package main
|
package apitest
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
Reference in New Issue
Block a user