All Projects → LuiBu → golangschool

LuiBu / golangschool

Licence: MIT license
原生golang语言开发的web网站

Programming Languages

CSS
56736 projects
HTML
75241 projects
go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to golangschool

go-notebook
Go-Notebook is inspired by Jupyter Project (link) in order to document Golang code.
Stars: ✭ 33 (-66.33%)
Mutual labels:  golang-examples
go-api-basic
A Go RESTful API template
Stars: ✭ 313 (+219.39%)
Mutual labels:  golang-examples
samples-go
Temporal Go SDK samples
Stars: ✭ 269 (+174.49%)
Mutual labels:  golang-examples
Learngo
1000+ Hand-Crafted Go Examples, Exercises, and Quizzes
Stars: ✭ 11,847 (+11988.78%)
Mutual labels:  golang-examples
todo-app
🔥 REST API для приложения списков ToDo
Stars: ✭ 78 (-20.41%)
Mutual labels:  golang-examples
project-template
Sample Go Project Template (based on the layout from the Standard Project Layout repo)
Stars: ✭ 81 (-17.35%)
Mutual labels:  golang-examples
goexample
Various examples of tests I do on a daily basis before implementing golang
Stars: ✭ 82 (-16.33%)
Mutual labels:  golang-examples
go-zero-to-hero
Golang Learning doc + programs
Stars: ✭ 17 (-82.65%)
Mutual labels:  golang-examples
Golang tutorial zero to hero
This is a tutorial, course, or walk through to teach first time developers how to use golang
Stars: ✭ 24 (-75.51%)
Mutual labels:  golang-examples
GoCurrency
Simple currency converter. Insert an amount, what currency to convert from and what currency to convert to.
Stars: ✭ 29 (-70.41%)
Mutual labels:  golang-examples
eventsourcing-go
Event Sourcing + CQRS using Golang Tutorial
Stars: ✭ 75 (-23.47%)
Mutual labels:  golang-examples
ds-algo
Implementation of common Data Structures and Algorithms with Go
Stars: ✭ 177 (+80.61%)
Mutual labels:  golang-examples
zap-examples
Examples of using Uber's zap Go logging library
Stars: ✭ 92 (-6.12%)
Mutual labels:  golang-examples
golang-cpp-basic-example
A simple example demonstrating how to call C++ from Go
Stars: ✭ 49 (-50%)
Mutual labels:  golang-examples
shortlink
High-Performance Shortlink ( Short URL ) app creator in Golang. For privacy reasons, you may prefer to host your own short URL app and this is the one to use.
Stars: ✭ 130 (+32.65%)
Mutual labels:  golang-examples
go-proj-starter
Golang project starter
Stars: ✭ 13 (-86.73%)
Mutual labels:  golang-examples
golang-gqlgen-reactjs-subscription-demo
GraphQL Subscription with Golang/React JS & React Apollo Client Subscription
Stars: ✭ 29 (-70.41%)
Mutual labels:  golang-examples

概览

  • go version

1.12以上

  • 框架

无/原生

  • go mod
require (
	github.com/garyburd/redigo v1.6.2
	github.com/go-sql-driver/mysql v1.5.0
	github.com/go-xorm/xorm v0.7.9
	xorm.io/builder v0.3.7 // indirect
	xorm.io/core v0.7.3 // indirect
)
  • 目录结构

1.common 公用的助手函数

2.config 配置文件

3.controllers 控制器,存放api文件

4.db 数据库连接,数据库方法重写等

5.redis redis连接,redis方法重写等

6.models 数据库模型

7.router 路由

8.templates 模版文件目录

9.static 静态文件目录

10.uploads 上传文件目录

启动

#默认
cd golangschool
go run main.go

#docker

cd golangschool
./build.sh start


别忘了根据golangschool.sql创建表结构,以及修改config对应的配置文件

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].