restructuring
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"crowsnest-frontend/internal/model"
|
||||
)
|
||||
|
||||
func test(w http.ResponseWriter, req *http.Request) {
|
||||
@@ -21,5 +22,9 @@ func main() {
|
||||
http.Handle("/", http.StripPrefix("/", fs))
|
||||
|
||||
|
||||
http.ListenAndServe(":8090", nil)
|
||||
a := &model.Article{}
|
||||
|
||||
fmt.Println(a.Hash())
|
||||
|
||||
//http.ListenAndServe(":8090", nil)
|
||||
}
|
||||
Reference in New Issue
Block a user