Skip to content

not found error on windows #131

Open
@MobinAssari

Description

@MobinAssari

this is my modd.conf
**/*.go {
prep: go test @dirmods
}

**/*.go {
prep: go build -o lenslocked .
daemon +sigterm: ./lenslocked
}
and this is my main.go
package main

import (
"fmt"
"net/http"
)

func handlerFunc(w http.ResponseWriter, r *http.Request) {

fmt.Fprint(w, "<h1> welcome to my site</h1>")

}
func main() {
http.HandleFunc("/", handlerFunc)
fmt.Println("starting on :3000...")
http.ListenAndServe(":3000", nil)
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions