qnote-go

command module
v0.0.0-...-717566a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: MIT Imports: 9 Imported by: 0

README

qnote-go

本项目是对 qnote-backend 的重写。本项目正处于并将长期处于社会主义初级阶段。

技术栈

  • Golang
  • Gin
  • GORM
  • MYSQL

Run

go mod tidy -v
go run main.go

or

go mod tidy -v
fresh

API

Plz refer to api.md

SQL

# MySQL 8.0
CREATE USER 'qnote' IDENTIFIED BY 'pa$$w0rd';
CREATE DATABASE qnote CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci;
GRANT ALL PRIVILEGES ON qnote.* TO 'qnote';

如果您的 MySQL 版本低于 8.0,请参考 此贴 来设置数据库的字符集。

REST Client

./restClient 目录下的文件是用于开发时测试的, 可以使用 REST Client 插件

reference

https://github.com/lightyears1998/qnote-backend

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL