Files
dndex/view/httpmeet.go
2020-07-23 16:41:50 -06:00

14 lines
226 B
Go

package view
import (
"local/dndex/storage"
"net/http"
"path"
)
func httpmeet(g storage.Graph, w http.ResponseWriter, r *http.Request) error {
namespace := path.Base(r.URL.Path)
w.Write([]byte(namespace))
return nil
}