Skip to content

Latest commit

 

History

History
58 lines (47 loc) · 843 Bytes

README.md

File metadata and controls

58 lines (47 loc) · 843 Bytes

go

go notes

必须要掌握的技能

  • install

  • 基本语法

  • 条件语句

  • 错误处理

  • 设计模式

  • go 标准库

  • pre commit hook

  • gin

    • gin project structure
    • gin hello world
    • gin || golang dockerfile
    • gin hot start
    • argument parse
  • go crountine

  • redis

  • mysql

  • rabbitmq

  • cronjob

  • pre commit hook

- repo: git://github.com/dnephin/pre-commit-golang
  rev: master
  hooks:
    - id: go-fmt
    - id: go-lint
    - id: go-unit-tests
    - id: go-build
- repo: git://github.com/pre-commit/pre-commit-hooks
  rev: v0.7.1
  hooks:
    - id: trailing-whitespace
  • gin hot start

使用fresh热启动

go get github.com/BUGLAN/fresh
fresh

fork 版本的fresh 支持 参数

fresh web