Skip to content
项目

关于

Generate CRUD gRPC backends from single YAML description.

数据与分析

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Pike

Generate CRUD gRPC backends from single YAML description.

Check out Playground!

Pike generates:

  • gRPC Protobuf service description with basic Create, Read, Update, Delete operations
  • Go implementation of gRPC service
    • Supports all CRUD SQL queries
    • No additional framework usage. Only depends on grpc and pq
    • TLS support
  • PostgreSQL migration(CREATE TABLE) compatible with migrate tool

Usage

Install: go get github.com/sashabaranov/pike

Run: pike project.yaml

Example

Generated project can be found here

Philosophy

A complex system that works is invariably found to have evolved from a simple system that worked. A complex system designed from scratch never works and cannot be patched up to make it work. You have to start over with a working simple system.

— Gall's Law

Pike let's you create simple systems quickly and does not impose any limitations afterwards.

Pike's name originates from Russian fairy tale

— По щучьему веленью, По моему хотенью — выстройся каменный дворец с золотой крышей…

探索相关项目

加载中…