Commit Graph

1300 Commits (8dd764679c95853409b5e4ced99c8b4fce7b31d2)
 

Author SHA1 Message Date
Fyn db949e40f1
feat: supports `importValue` for more path formats (#1569)
`importValueRegex` now can match more path formats

Resolves: #1568
3 years ago
Kevin Wan e0454138e0
update goctl to go 1.16 for io/fs usage (#1571)
* update goctl to go 1.16 for io/fs usage

* feat: support pg serial type for auto_increment (#1563)

* add correct example for pg's url

* 🐞 fix: merge

* 🐞 fix: pg default port

*  feat: support serial type

Co-authored-by: kurimi1 <d0n41df@gmail.com>

* chore: format code

Co-authored-by: toutou_o <33993460+kurimi1@users.noreply.github.com>
Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
toutou_o 3b07ed1b97
feat: support pg serial type for auto_increment (#1563)
* add correct example for pg's url

* 🐞 fix: merge

* 🐞 fix: pg default port

*  feat: support serial type

Co-authored-by: kurimi1 <d0n41df@gmail.com>
3 years ago
anqiansong daa98f5a27
Feature: Add goctl env (#1557) 3 years ago
Kevin Wan 842656aa90
feat: log 404 requests with traceid (#1554) 3 years ago
Kevin Wan aa29036cb3
feat: support ctx in sql model generation (#1551) 3 years ago
Kevin Wan 607bae27fa
feat: support ctx in sqlx/sqlc, listed in ROADMAP (#1535)
* feat: support ctx in sqlx/sqlc

* chore: update roadmap

* fix: context.Canceled should be acceptable

* use %w to wrap errors

* chore: remove unused vars
3 years ago
Kevin Wan 7c63676be4
docs: add go-zero users (#1546) 3 years ago
Kevin Wan 9e113909b3
ignore context.Canceled for redis breaker (#1545) 3 years ago
Kevin Wan bd105474ca
chore: update help message (#1544) 3 years ago
Mikael a078f5d764
add the serviceAccount of deployment (#1543)
Co-authored-by: 977231903@qq.com <>
3 years ago
Kevin Wan b215fa3ee6
fix #1541 (#1542) 3 years ago
mlr3000 50b1928502
chore:use struct pointer (#1538) 3 years ago
Kevin Wan 493e3bcf4b
docs: update roadmap (#1537) 3 years ago
Kevin Wan 6deb80625d
fix issue of default migrate version (#1536)
* fix issue of default migrate version

* chore: update console colors
3 years ago
Kevin Wan 6ab051568c
Update readme-cn.md
add go-zero users
3 years ago
Kevin Wan 2732d3cdae
chore: refactor cache (#1532) 3 years ago
chenquan e8c307e4dc
feat: support ctx in `Cache` (#1518)
* feature: support ctx in `Cache`

Signed-off-by: chenquan <chenquan.dev@foxmail.com>

* fix: `errors.Is` instead of `=`

Signed-off-by: chenquan <chenquan.dev@foxmail.com>
3 years ago
Kevin Wan 84ddc660c4
chore: goctl format issue (#1531) 3 years ago
Kevin Wan e60e707955
upgrade grpc version (#1530) 3 years ago
Kevin Wan cf4321b2d0
fix #1525 (#1527) 3 years ago
chenquan 1993faf2f8
fix: fix a typo (#1522)
Signed-off-by: chenquan <chenquan.dev@foxmail.com>
3 years ago
Kevin Wan 0ce85376bf
chore: update goctl version to 1.3.2 (#1524) 3 years ago
Kevin Wan a40254156f
refactor: refactor yaml unmarshaler (#1517) 3 years ago
chenquan 05cc62f5ff
chore: optimize yaml unmarshaler (#1513) 3 years ago
chenquan 9c2c90e533
chore: make error clearer (#1514) 3 years ago
Kevin Wan 822ee2e1c5
feat: update go-redis to v8, support ctx in redis methods (#1507)
* feat: update go-redis to v8, support ctx in redis methods

* fix compile errors

* chore: remove unused const

* chore: add tracing log on redis
3 years ago
anqiansong 77482c8946
fixes typo (#1511)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 7ef0ab3119
Update readme-cn.md 3 years ago
anqiansong 8bd89a297a
feature: Add `goctl completion` (#1505)
* feature: Add `goctl completion`

* Update const

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan bb75cc796e
test: change fuzz tests (#1504) 3 years ago
Kevin Wan 0fdd8f54eb
ci: add test for win (#1503)
* ci: add test for win

* ci: update check names

* ci: use go build instead of go test to verify win test

* fix: windows test failure

* chore: disable logs in tests
3 years ago
anqiansong b1ffc464cd
fix typo: goctl protoc usage (#1502)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan 50174960e4
chore: update command comment (#1501) 3 years ago
Kevin Wan 8f46eab977
fix: goctl not compile on windows (#1500) 3 years ago
Kevin Wan ec299085f5
docs: update tal-tech to zeromico in docs (#1498) 3 years ago
Kevin Wan 7727d70634
chore: update goctl version (#1497) 3 years ago
Kevin Wan 5f9d101bc6
feat: add runtime stats monitor (#1496) 3 years ago
Kevin Wan 6c2abe7474
fix: goroutine stuck on edge case (#1495)
* fix: goroutine stuck on edge case

* refactor: simplify mapreduce implementation
3 years ago
Kevin Wan 14a902c1a7
feat: handling panic in mapreduce, panic in calling goroutine, not inside goroutines (#1490)
* feat: handle panic

* chore: update fuzz test

* chore: optimize square sum algorithm
3 years ago
Kevin Wan 5ad6a6d229
Update readme-cn.md
add slogan
3 years ago
Kevin Wan 6f4b97864a
chore: improve migrate confirmation (#1488) 3 years ago
Kevin Wan 0e0abc3a95
chore: update warning message (#1487) 3 years ago
anqiansong 696fda1db4
patch: goctl migrate (#1485)
* * Add signal check
* Add deprecated pkg check

* fix typo `replacementBuilderx`

* output to console if verbose

Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan c1d2634427
chore: update go version for goctl (#1484) 3 years ago
Kevin Wan 4b7a680ac5
refactor: rename from tal-tech to zeromicro for goctl (#1481) 3 years ago
Kevin Wan b3e7d2901f
Feature/trie ac automation (#1479)
* fix: trie ac automation issues

* fix: trie ac automation issues

* fix: trie ac automation issues

* fix: trie ac automation issues
3 years ago
anqiansong cdf7ec213c
fix #1468 (#1478)
Co-authored-by: anqiansong <anqiansong@bytedance.com>
3 years ago
Kevin Wan f1102fb262
chore: optimize string search with Aho–Corasick algorithm (#1476)
* chore: optimize string search with Aho–Corasick algorithm

* chore: optimize keywords replacer

* fix: replacer bugs

* chore: reorder members
3 years ago
Keqi Huang 09d1fad6e0
Polish the words in readme.md (#1475) 3 years ago