Skip to content

SseVven/webserver-goweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssevven-ING

  1. go env -w GOPROXY=https://goproxy.io,direct

    创建 go.mod 文件

  2. 加载所有的 html 模板

    func loadTemplates() *template.Template {
        result := template.New("templates")
        template.Must(result.ParseGlob("templates/*.html"))
        return result
    }
  3. https

    go run GIROOT\crypto\tls\generate_cert.go -h

About

goweb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published