Git Product home page Git Product logo

goframe's Introduction

goframe

1 简介

goframe中的sono项目是一个轻量级的go-web框架。开发者可以直接clone该仓库,将项目名sono替换为自己的模块名称,并将不同go文件中的sono替换掉即可。

2 主要功能列表

1. 静态路由
2. toml格式配置文件读取
3. 单元测试goCheck封装
4. log文件配置封装
5. mysql读取公共类封装
6. redis公共类封装
7. cron定时任务封装

3 使用说明

3.1 sono配置

toml文件进行mysql的链接信息、日志路径等相关的配置:

[log]
dir = "./logs"

[Mysql]
UserName = "sonofelice"
Password = "123456"
IpHost = "127.0.0.1:8902"
DbName = "sono_mysql"

3.1 sono工程启动

./sono ../conf/conf.toml

3.3 单测

为方便开发者使用,框架集成了goCheck测试框架,完善了go单测的功能。

goframe's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

goframe's Issues

About organization `goframe`

Hi,@sonofelicemm

你好,很高兴我们的golang框架都取了同一个名字(https://gitee.com/johng/gf, https://github.com/johng-cn/gf),表示我们有着比较类似的思维和审美观。

之前我一直使用国内的gitee来使用框架,由于gitee在国外访问时频繁出现网络问题,因此想将涉及的仓库统一迁移到github上。不过我注意到goframe这个organization已经被你注册了(其实今年年初的时候我注册过,后面释放了),因此我无法创建相同名称或者transfer仓库到这个名称下。

发此issue问问,碰碰好运气,你是否方便将此goframe的organization transafer给我,我将不胜感激。

祝工作顺利!

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.