Skip to content

hanjackcom/WordBlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

WordBlog

WordBlog, a easy blog development with golang.

Init project

mkdir backend; cd backend
go mod init backend
go mod tidy

Install dependency

You'd better install the following libraries before staring this project.

# 1. gin
go get -u github.com/gin-gonic/gin

# 2. gorm
go get -u gorm.io/gorm

# 3. jwt
go get github.com/golang-jwt/jwt/v5

# 4. yaml
go get gopkg.in/yaml.v3

# 5. mysql driver
go get -u gorm.io/driver/mysql

# 6. zap log library, lumberjack log splitting library.
go get go.uber.org/zap
go get github.com/natefinch/lumberjack

About

WordBlog, a easy blog development with golang.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages