-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1ca2291
commit ea0a385
Showing
6 changed files
with
377 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
package main | ||
|
||
import ( | ||
"embed" | ||
|
||
"github.com/buildtheui/DropMyFile/pkg/cmd" | ||
"github.com/buildtheui/DropMyFile/pkg/global" | ||
) | ||
|
||
//go:embed views/* | ||
var views embed.FS | ||
|
||
func main() { | ||
// Set views files to global variable so files are embed at compile time | ||
global.ViewsContent = views | ||
|
||
// Init command line | ||
cmd.Execute() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
287 changes: 287 additions & 0 deletions
287
vendor/github.com/gofiber/fiber/v2/middleware/filesystem/filesystem.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.