Commit c8ccf072 authored by IronHammer Std's avatar IronHammer Std
Browse files

Initial Commit(Basic Server)

parents
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
# Test binary, built with `go test -c`
*.test
# Output of the go coverage tool, specifically when used with LiteIDE
*.out
# Dependency directories (remove the comment below to include it)
# vendor/
.idea/
.vscode/
log/
\ No newline at end of file
package main
import (
"io"
"net/http"
)
func Ping(w http.ResponseWriter, r *http.Request) {
io.WriteString(w, "pong~")
}
func main() {
http.HandleFunc("/ping", Ping)
http.ListenAndServe(":8080", nil)
}
\ No newline at end of file
module intern_project_backend
go 1.24.3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment