start adding in webserver component

This commit is contained in:
2026-07-31 12:31:08 -07:00
parent 9bd19b9cc4
commit 760dbec077
3 changed files with 43 additions and 31 deletions
+13
View File
@@ -0,0 +1,13 @@
package webserver
import (
"fmt"
"net/http"
)
func ServeWebserver() {
err := http.ListenAndServe(":8080", nil)
if err != nil {
fmt.Printf(err.Error())
}
}