Compare commits
No commits in common. "main" and "v0.1.0" have entirely different histories.
@ -1,4 +1,4 @@
|
|||||||
package main
|
package httpi
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -19,8 +19,3 @@ 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()
|
|
||||||
}
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user