idoubi / sql2struct Goto Github PK
View Code? Open in Web Editor NEWA developer-friendly tool for transfering sql statement to go struct.
Home Page: https://dou.tools/sql2struct/
License: MIT License
A developer-friendly tool for transfering sql statement to go struct.
Home Page: https://dou.tools/sql2struct/
License: MIT License
请问可以支持一下XORM吗
不能下载了 点击404了
RT
create table dpi_bookinfo_test.book_info
(
id bigint auto_increment
primary key,
name varchar(255) default '' not null comment '书名',
author varchar(32) default '' not null comment '作者',
tag varchar(64) default '' not null comment '标签',
cover varchar(1024) default '' not null comment '封面',
multi_cover tinyint(1) default 0 not null,
status int default 1 not null comment '0完结,1连载中',
introduction text null comment '简介',
source varchar(32) default '' not null comment '来源',
link varchar(512) default '' not null comment '连接地址',
score double default 0 not null,
read_user_num int default 0 not null,
last_chapter varchar(1024) default '' not null,
last_update varchar(64) default '' not null,
words int default 0 not null,
md5 varchar(64) default '' not null,
create_time datetime default CURRENT_TIMESTAMP not null comment '创建时间',
update_time datetime default CURRENT_TIMESTAMP not null on update CURRENT_TIMESTAMP,
constraint book_info_name_author_uindex
unique (name, author)
)
comment '书籍信息';
create index book_info_md5_index
on dpi_bookinfo_test.book_info (md5);
你好idoubi,我不太会用Github,这是我fork的地址:https://github.com/Nihility981/sql2struct
看能不能整合一下之类的,感谢写了这个插件!
hello,我这边遇到一些遗留问题,一些接口定义转TS更合适,所以想问下protobuf & thrift 转 TS 可以支持下不
原始sql准确无误,由于涉及业务,比较敏感无法粘贴原始sql
但是300多个字段,最后struct只生成了不到100个
下载不到了
ID: apgeebknebncejkfkpgbohafdffgaopi
mac os安装此插件提示插件损坏,无法启用
我觉得可以弄成一个网页,点开这个网页就能用。不需要按照插件。
不需要部署到服务器里。把整个网页所需文件打包进一个文件夹就行。
不能生成comment注释
能加个功能把注释一起添加出来么
[sql2struct online website ](https://dou.tools/sql2struct) 在线网站已经打不开了
不可以弄数据库默认值嘛
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.