mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 00:55:32 +00:00
18 lines
194 B
Go
18 lines
194 B
Go
package server
|
|
|
|
import "net/http"
|
|
|
|
type Mux struct {
|
|
sm http.ServeMux
|
|
}
|
|
|
|
func NewMux() *Mux {
|
|
return &Mux{
|
|
sm: http.ServeMux{},
|
|
}
|
|
}
|
|
|
|
func (m *Mux) Router() *http.ServeMux {
|
|
return &m.sm
|
|
}
|