command
module
Version:
v0.0.0-...-64108d5
Opens a new window with list of versions in this module.
Published: Jan 26, 2023
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-file-manager
File Manager that let you upload and download file coded with Go Programming Language (Golang)
PreInstall
- For using Docker https://docs.docker.com/desktop/install/windows-install/
Database (Not needed if you use Docker)
- Create a database named
file_manager
- Run
go run main.go to create the tables using gorm
- It will automatically create the tables using gorm
How to use with Docker
- Clone this Repository using
git clone
- Run Docker Desktop
- Check config/db.go for the commented out code and adjust accordingly
- use CMD Command on this project root
docker-compose build
docker-compose up
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
How to use with Go Build
- Clone this Repository using
git clone
- Check config/db.go for the commented out code and adjust accordingly
- use CMD Command on this project root
go build -tags netgo -ldflags '-s -w' -o app
./app
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
How to use with Go Run
- Clone this Repository using
git clone
- Check config/db.go for the commented out code and adjust accordingly
- use CMD Command on this project root
go run main.go
- access http://localhost:8080/swagger/index.html#/
- The app is ready to use.
For more information, please contact me LinkedIn: https://www.linkedin.com/in/MicBun
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
Code generated by swaggo/swag.
|
Code generated by swaggo/swag. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.