Beerus

一个用Go开发的web解决方案,包含web框架和数据库管理框架,计划开发RPC等组件,旨在丰富Go的web生态。

Check out Beerus on CurateClick

• Copy the embed code to showcase this product on your website

• Share on X to spread the word about this amazing tool

项目推荐- 项目地址:https://github.com/yuyenews- 类别:Go- 项目后续更新计划:现有的组件持续迭代升级,然后RPC也提上计划了,最终目标是打造Go的web生态- 项目描述: 一个用Go开发的web解决方案,包含一个web框架,一个数据库管理框架,未来还会开发RPC以及其他的web周边组件- 推荐理由:现在web几乎还是java的天下,java的web生态已经非常成熟了,但是go好像还差点意思,我想尝试一下看能不能通过丰富Go的生态,让这门语言能够擅长更多的领域开发## 示例代码:### 不写sql的增删改查示例根据条件做单表查询goconditions := make([]*entity.Condition,0)conditions = append(conditions, &entity.Condition{Key:"id > ?", Val: 10})conditions = append(conditions, &entity.Condition{Key:"and user_name = ?", Val: "bee"})conditions = append(conditions, &entity.Condition{Key: "order by create_time desc", Val: entity.NotWhere})resultMap, err := operation.GetDBTemplate("Data source name").Select("table name", conditions)根据条件修改数据goconditions := make([]*entity.Condition,0)conditions = append(conditions, &entity.Condition{Key:"id = ?", Val: 1})data := ResultStruct{UserName: "TestNoSqlUpdate"}operation.GetDBTemplate("Data source name").Update("table name", dbutil.StructToMapIgnore(&data, data, true), conditions)根据条件删除数据goconditions := make([]*entity.Condition,0)conditions = append(conditions, &entity.Condition{Key:"id = ?", Val: 2})_, err := operation.GetDBTemplate("Data source name").Delete("table name", conditions)插入一条数据godata := ResultStruct{UserName: "TestNoSqlInsert",UserEmail: "[email protected]",UpdateTime: "2021-12-09 13:50:00",}result, err := operation.GetDBTemplate("Data source name").Insert("table name", dbutil.StructToMapIgnore(&data, data, true))### 复杂操作可以写sql完成有兴趣的可以翻阅文档:https://beeruscc.com

Latest Weekly Picks

make.ink favicon
Weekly Pick

Your AI tattoo generator for pro-grade concepts

Leo Wade
sellfy.com favicon
Weekly Pick

A code-free online store builder to turn views into revenue. Sell digital products, subscriptions, and merch, without fees or hassle.

Maris
www.videotoblog.ai favicon
Weekly Pick

Convert videos into awesome blog posts.

Video To Blog
www.sellerpic.ai favicon
Weekly Pick

SellerPic is the all-in-one AI design platform for e-commerce

SellerPic
fastimage.ai favicon
Weekly Pick

Fast Image AI instantly transforms your photos into stunning styles like Ghibli, Sketch, and Pixar. Effortlessly control image elements and create amazing effects with just one click.

Fast AI Team
linkedinpro.daisy.so favicon
Weekly Pick

AI-powered tool that transforms casual photos into professional LinkedIn headshots instantly. No photographer needed—just upload and download.

Gabriel
crevas.ai favicon
Weekly Pick

Crevas unifies Veo 3, Sora 2, Nano Banana and more into one intuitive canvas — so filmmakers can script, prompt, and generate cinematic stories without switching tools or losing consistency.

Spark Alpha
fotominiatur.com favicon
Weekly Pick

AI Foto Edit - Text to Image & Image Edit

foto miniatur