Skip to content

Linjiangzhu/BlogDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple golang blog program for beginners

This project is simple enough for beginners to understand mvc structured web applicaiton. I will rebuild the blog in the future with gin+gorm+react if I have time. Writing web template like jsp is really outdated.

Required packages

program directory

├── assets
│   ├── css
│   │   └── main.css
│   ├── images
│   └── js
├── controller
│   ├── admin.go
│   ├── blog.go
│   ├── index.go
│   └── login.go
├── main.go
├── middleware
│   └── middleware.go
├── model
│   ├── database.go
│   └── model.go
├── readme.md
├── routes
│   └── router.go
└── view
    ├── admin
    │   ├── dashboard.html
    │   └── login.html
    ├── blog
    │   ├── blog.html
    │   ├── edit.html
    │   ├── new.html
    │   └── post.html
    ├── home
    │   └── index.html
    └── partials
        ├── footer.html
        └── header.html

About

A Blog Demo written in Go with gin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published