Benenne Packages konsistent und füge go.mod und go.sum hinzu.
This commit is contained in:
parent
02cac422f4
commit
fef8224984
20 changed files with 38 additions and 34 deletions
|
@ -5,8 +5,8 @@ import (
|
|||
"log"
|
||||
"net/http"
|
||||
"net/mail"
|
||||
"sprechstundentool/config"
|
||||
"sprechstundentool/models"
|
||||
"officeHours/config"
|
||||
"officeHours/models"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
package controllers
|
||||
|
||||
import (
|
||||
"sprechstundentool/config"
|
||||
"sprechstundentool/models"
|
||||
"officeHours/config"
|
||||
"officeHours/models"
|
||||
)
|
||||
|
||||
// BaseHandler will hold everything that controller needs
|
||||
|
|
|
@ -3,7 +3,7 @@ package controllers
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"sprechstundentool/models"
|
||||
"officeHours/models"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"fmt"
|
||||
"html/template"
|
||||
"net/http"
|
||||
"sprechstundentool/models"
|
||||
"officeHours/models"
|
||||
"strconv"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package controllers
|
|||
|
||||
import (
|
||||
"html/template"
|
||||
"sprechstundentool/models"
|
||||
"officeHours/models"
|
||||
)
|
||||
|
||||
var Templates, _ = template.Must(template.ParseFiles(
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue