static_dev.go (162B)
1 //go:build dev 2 3 package main 4 5 import "io/ioutil" 6 7 func readStaticFile(filepath string) ([]byte, error) { 8 return ioutil.ReadFile("frontend/public/" + filepath) 9 }
![]() | experimentsAll kinds of coding experiments |
Log | Files | Refs | Submodules |