Giter Club home page Giter Club logo

我的技术博客 👋

https://xiazemin.github.io/MyBlog/index.html

最近的轮子项目

vscode 插件

https://github.com/xiazemin/golangCodeHelper 支持右键从json文件生成golang结构体,从curl生成golang http请求代码

golang:

自动生成带gomock的table driving test 代码工具

源码:https://github.com/xiazemin/autotest 实例:https://github.com/xiazemin/tabel_drving_test_learn 安装:go get -u github.com/xiazemin/autotest/gotests 自动生成带gomock的代码

上传代码,生成导出函数的树形逻辑分支,支持动态编辑

https://github.com/xiazemin/jstree-go 逻辑分支可视化(https://github.com/xiazemin/jstree-go/blob/main/static/1677917465883.jpg)

支持in 和values 语法的 sqlc

sqlc that support in syntax

-- name: GetAuthorsInCompany :many
SELECT * FROM authors where company_id in ( select id from company where id in (?) and name in (?) );

支持不定长values语法

/* name: BatchCreateAuthor :execresult */
INSERT INTO authors (
  id,name,bio,company_id
) VALUES (
  ?,?, ?,1 
),(
  ?,?, ?,1 
);

源码:https://github.com/xiazemin/sqlc 实例:https://github.com/xiazemin/sqlc_study 安装:go get -u github.com/xiazemin/sqlc

可视化golang语法树

https://github.com/xiazemin/ast_graph

可视化语法树

nacos sidecar服务自动注册

https://github.com/xiazemin/registrator-nacos

nacos sidecar服务自动注册

docker run -d \
    --name=registrator-nacos \
    --net=host \
    --volume=/var/run/docker.sock:/tmp/docker.sock \
    xiazemin/registrator-nacos:v0.0.1 \
      nacos://127.0.0.1
docker run  -p5678:5678 yourservice:yourport

json转golang结构体

https://github.com/xiazemin/jsonToAll

proto 生成xmind文件

https://github.com/xiazemin/proto2xmind

安装: go install github.com/xiazemin/proto2xmind 使用: proto2xmind gen -s ./example/sub.proto -s ./example/request.proto -d ./example/example.xmind

example.xmind

json格式生成xmind文件

给定父子结构关系json,生成对应的xmind文件 https://github.com/xiazemin/xmind-go

mysql压测工具:

https://github.com/xiazemin/mysqlslap-go

php扩展:

排查超时函数

https://github.com/xiazemin/slowLog

实现扩展类

https://github.com/xiazemin/php_ext_class

php代码工具

查找import指定目录以外的包

php项目改造的时候,快速查找非指定目录内部的namespace,快速排错 https://github.com/xiazemin/php_imports

可视化php调用链路

https://github.com/xiazemin/PhpParserEngine 可视化调用链路

nginx模块开发

https://github.com/xiazemin/nginx_mod

我的公众号

关注我

xiazemin's Projects

xiazemin doesn’t have any public repositories yet.

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.