Benenne Packages konsistent und füge go.mod und go.sum hinzu.

This commit is contained in:
Gonne 2022-09-20 12:21:01 +02:00
parent 02cac422f4
commit fef8224984
20 changed files with 38 additions and 34 deletions

View file

@ -5,8 +5,8 @@ import (
"log"
"net/http"
"net/mail"
"sprechstundentool/config"
"sprechstundentool/models"
"officeHours/config"
"officeHours/models"
"strconv"
"strings"
)

View file

@ -1,8 +1,8 @@
package controllers
import (
"sprechstundentool/config"
"sprechstundentool/models"
"officeHours/config"
"officeHours/models"
)
// BaseHandler will hold everything that controller needs

View file

@ -3,7 +3,7 @@ package controllers
import (
"net/http"
"sprechstundentool/models"
"officeHours/models"
"strconv"
)

View file

@ -4,7 +4,7 @@ import (
"fmt"
"html/template"
"net/http"
"sprechstundentool/models"
"officeHours/models"
"strconv"
)

View file

@ -2,7 +2,7 @@ package controllers
import (
"html/template"
"sprechstundentool/models"
"officeHours/models"
)
var Templates, _ = template.Must(template.ParseFiles(

View file

@ -5,7 +5,7 @@ import (
"bytes"
"fmt"
"html/template"
"sprechstundentool/models"
"officeHours/models"
)
func (b *BaseHandler) GetTimetable(officeHours []models.OfficeHour) (timetable map[models.Date]map[int]models.OfficeHour, slots []int) {