mirror of
https://github.com/kevin-DL/gothstarter.git
synced 2026-01-11 01:54:32 +00:00
17 lines
187 B
Go
17 lines
187 B
Go
//go:build !dev
|
|
// +build !dev
|
|
|
|
package main
|
|
|
|
import (
|
|
"embed"
|
|
"net/http"
|
|
)
|
|
|
|
//go:embed public
|
|
var publicFS embed.FS
|
|
|
|
func public() http.Handler {
|
|
return http.FileServerFS(publicFS)
|
|
}
|