package server import ( "net/http" "os" ) func isFile(path string) bool { stat, err := os.Stat(path) return err == nil && !stat.IsDir() } func notesFile(path string, w http.ResponseWriter, r *http.Request) { }