Giter Club home page Giter Club logo

goup's Introduction

创建工程

linux

bash -c "$(curl -fsSL https://raw.githubusercontent.com/xbonlinenet/goup/master/init.sh)"

mac

mac 对 shell 的支持和 linux 的支持有差异,暂时不兼容。 建议修改 mac 的环境:

mac 安装gnu的sed命令,这样就可以跟linux环境兼容了

  1. brew install gnu-sed
```
vi ~/.zshrc
export PATH="/usr/local/opt/gnu-sed/libexec/gnubin:$PATH"
```
  1. source ~/.zshrc 或者新开窗口,让设置生效

goup's People

Contributors

3vilive avatar kkfnui avatar sshssl163 avatar bulesxz avatar dependabot[bot] avatar szjeffluo avatar

Stargazers

xiejianhe avatar  avatar Eric avatar  avatar xupeng avatar

Watchers

 avatar  avatar  avatar xupeng avatar

goup's Issues

support more resp content-type

1.之前默认响应为c.PureJSON(200, response)。当响应内容为[]byte时,会编码成base64字符串。
2.添加自定义Option,响应时支持更多的content-type。比如text/html、octet/stream等。

DB 的域名存在多个 A 记录的时候,会不停的重新建立连接

相关日志:

1.6554516949957297e+09	info	data/db.go:187	updateDBConn	{"name": "advert_admin_doris", "old_ip": "10.88.5.37", "new_ip": "10.88.41.37"}
1.655451705007905e+09	info	data/db.go:187	updateDBConn	{"name": "advert_admin_doris", "old_ip": "10.88.41.37", "new_ip": "10.88.5.37"}
1.6554517100171957e+09	info	data/db.go:187	updateDBConn	{"name": "advert_admin_doris", "old_ip": "10.88.5.37", "new_ip": "10.88.5.37"}
1.6554517150290003e+09	info	data/db.go:187	updateDBConn	{"name": "advert_admin_doris", "old_ip": "10.88.5.37", "new_ip": "10.88.5.37"}
1.655451720037805e+09	info	data/db.go:187	updateDBConn	{"name": "advert_admin_doris", "old_ip": "10.88.5.37", "new_ip": "10.88.41.37"}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.