basic test of modules

This commit is contained in:
Michael Bobbitt 2025-01-23 22:46:56 -05:00
parent 76e39783d0
commit 1132f77249

View File

@ -1,4 +1,4 @@
package httpi package main
import ( import (
"net/http" "net/http"
@ -19,3 +19,8 @@ func NewServer() *Server {
func (s *Server) Start() error { func (s *Server) Start() error {
return s.httpServer.ListenAndServe() return s.httpServer.ListenAndServe()
} }
func main() {
server := NewServer()
server.Start()
}