initial commits

master
Charles Iliya Krempeaux 2023-08-14 21:51:38 -07:00
parent b54605e98a
commit ae7875d8e5
1 changed files with 12 additions and 0 deletions

View File

@ -31,6 +31,18 @@ const (
// }
//
// fmt.Printf("The maymoon root-dir is at %q \n", rootDir)
//
// One usage for this function is to use the path it returns in HTTPHandler.
// For example:
//
// rootDir, err := maymoon.RootDir()
// if nil != err {
// return err
// }
//
// // ...
//
// var handler http.Handler = maymoon.HTTPHandler(rootDir)
func RootDir() (string, error) {
{