Versuch, eine übersichtlichere Struktur einzuführen

This commit is contained in:
Jason Streifling 2023-10-05 19:56:18 +02:00
parent 1bcfbfd325
commit 5749739761
4 changed files with 5 additions and 5 deletions

View File

@ -4,9 +4,9 @@ import (
"log" "log"
"net/http" "net/http"
"streifling.com/jason/sicherheitsunterweisung/db" "streifling.com/jason/sicherheitsunterweisung/packages/db"
"streifling.com/jason/sicherheitsunterweisung/server" "streifling.com/jason/sicherheitsunterweisung/packages/server"
"streifling.com/jason/sicherheitsunterweisung/types" "streifling.com/jason/sicherheitsunterweisung/packages/types"
) )
func main() { func main() {

View File

@ -8,7 +8,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"streifling.com/jason/sicherheitsunterweisung/types" "streifling.com/jason/sicherheitsunterweisung/packages/types"
"github.com/go-sql-driver/mysql" "github.com/go-sql-driver/mysql"
"golang.org/x/term" "golang.org/x/term"

View File

@ -5,7 +5,7 @@ import (
"html/template" "html/template"
"log" "log"
"net/http" "net/http"
"streifling.com/jason/sicherheitsunterweisung/types" "streifling.com/jason/sicherheitsunterweisung/packages/types"
) )
func DisplayForm(i *int64) http.HandlerFunc { func DisplayForm(i *int64) http.HandlerFunc {