000000023.go 271 B

12345678910111213141516
  1. package migrate
  2. import (
  3. "context"
  4. "os"
  5. "golang-fave/engine/sqlw"
  6. )
  7. func Migrate_000000023(ctx context.Context, db *sqlw.DB, host string) error {
  8. if err := os.Mkdir(host+string(os.PathSeparator)+"/htdocs/public", 0755); err != nil {
  9. return err
  10. }
  11. return nil
  12. }