longXboy
2920c12ead
add gin examples
2021-07-18 10:29:10 +08:00
包子
5f678de2cc
fix(transport/http): fixed the problem of getting empty node list ( #1206 )
...
* fix(transport/http): fixed the problem of getting empty node list
* fix http blocking
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-07-18 07:46:03 +08:00
longxboy
b2ba585b2e
upgrade consul ( #1205 )
2021-07-17 23:20:18 +08:00
Casper-Mars
e8e0f6734a
typo: modify the comments of the proto-gen-go-errors ( #1204 )
2021-07-17 22:08:36 +08:00
Kuiba
060cb24535
<test> config/file: add tests for file watcher ( #1199 )
...
* add file watcher test
2021-07-16 21:41:49 +08:00
包子
dc0ed5bc42
docs: add wechat official account image to the Chinese document ( #1190 )
2021-07-14 23:45:07 +08:00
opensite
f27047c05b
style(transport): remove duplicate get path code ( #1188 )
...
transport/http remove duplicate get path code for filter
2021-07-14 21:52:44 +08:00
pokitpeng
e8c9a361d3
fix(examples/config): fixed spelling mistake ( #1186 )
2021-07-14 16:03:16 +08:00
Kagaya
7f394d0d0a
feat(env): add config env source ( #1181 )
...
* add config/env
* feat(env): add config env source
* fix: resolve map array & add test case
* remove return stop error
* using gob encoding to deep copy map
* fix ci failed
2021-07-14 13:10:18 +08:00
miya
21a729bc3a
fix(examples/cors): method misuse ( #1184 )
2021-07-14 13:05:15 +08:00
喵喵大人
43b3ebb89d
docs: default documents points to the english document ( #1180 )
...
* docs: default documents points to the english document
* docs: fixed error links
2021-07-13 14:27:28 +08:00
喵喵大人
aaecd4a642
Merge pull request #1179 from ymh199478/fixed/parse-float
...
fix(config): strconv.ParseFloat use correct bitSize
2021-07-13 12:23:01 +08:00
ymh199478
c2e3a59ebc
fix(config): strconv.ParseFloat use correct bitSize
2021-07-13 11:21:39 +08:00
喵喵大人
4780b6e1fd
ci(github action): use golangci-lint to replace the deprecated golint ( #1175 )
...
* ci: use golangci-lint to replace the deprecated golint
Co-authored-by: ymh199478 <yumenghan@bilibili.com>
2021-07-12 18:09:38 +08:00
Windfarer
a7b1af764f
feat(examples/i18n) add i18n example ( #1157 )
...
* i18n example
* enable
* regenerate
* readme
* update doc
* go mod tidy
* update readme
* go mod tidy
2021-07-12 13:41:21 +08:00
Kagaya
e19730e4b6
feat(config): support Resolver for config variable placeholders ( #1135 )
...
* test: add yaml test case for reader
test: init test case for fillTemplate
* add env placeholder resolver
fix ci test fail
* fix ci test fail
* feat(config): add config resolver
* test(config): add test cases
* move defaultDecoder & defaultResolver to options.go
2021-07-11 00:03:43 +08:00
喵喵大人
3089419e14
docs: Added a list of acknowledgments that influence on kratos's design. ( #1171 )
...
* docs: Added a list of acknowledgments that influence on kratos's design.
2021-07-10 23:08:32 +08:00
Tt yo
567ff27eff
examples: add echo example ( #1162 )
...
* examples: add echo examples
* style: update code style.
2021-07-09 21:53:21 +08:00
包子
ac8c27ff9f
fix(cmd/run): fix the problem of looking for the cmd directory outside the project ( #1166 )
...
* fix(cmd/run): fix the problem of looking for the cmd directory outside the project
2021-07-09 20:24:07 +08:00
包子
6e9ce7af22
chore(example/blog): add ent tracing, and print the original SQL ( #1163 )
2021-07-09 09:42:07 +08:00
longXboy
14d383bc6f
add v2.0.0
2021-07-08 13:54:09 +08:00
longxboy
23a7f15541
add form for codec ( #1158 )
...
* add form for http codec
2021-07-08 13:05:21 +08:00
Kagaya
9280af7165
add readValue ( #1161 )
2021-07-07 23:16:30 +08:00
longXboy
26e94aa2ad
add swagger api examples
2021-07-07 14:37:58 +08:00
喵喵大人
02e8bf6bde
docs: optimization the README.md ( #1149 )
...
* docs: optimize the readme.md content
2021-07-06 17:18:06 +08:00
包子
e9969bc655
fix(cmd/run): fixed a problem that did not run correctly on windows ( #1153 )
...
* fix(cmd/run): fixed a problem that did not run correctly on windows
2021-07-05 11:41:12 +08:00
包子
1ef817507a
fix(cmd): modify the problem of getting length error of kratos run command array ( #1150 )
2021-07-04 21:45:15 +08:00
包子
a7a8d5d91a
fix(cmd): fixed a problem where prefix could not be matched in some cases ( #1151 )
...
* fix(cmd): fixed a problem where prefix could not be matched in some cases
2021-07-04 21:44:49 +08:00
longxboy
6f1640b81d
add url for docs ( #1147 )
2021-07-04 17:37:59 +08:00
包子
a2bb5de1bc
kratos run command support to find the cmd directory from the parent directory ( #1146 )
...
* feat(cmd): kratos run command support to find the cmd directory from the parent directory
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-07-04 14:23:34 +08:00
包子
70e3692698
feat(cmd): add kratos run command and clean code ( #1145 )
...
* feat(cmd): add kratos run command and clean code
2021-07-04 00:08:08 +08:00
包子
f10605fd51
docs: update readme, add conventional commits #1096 ( #1143 )
...
* docs: update readme, add conventional commits
2021-07-03 16:58:34 +08:00
Tony Chen
3795eddcf5
fix config decoder ( #1142 )
2021-07-03 15:30:19 +08:00
Tony Chen
81f96ee74d
fix(http): fix error encoder ( #1141 )
...
* fix error encoder
2021-07-03 15:22:13 +08:00
包子
7755bd36dc
feat(cmd): add kratos changelog command ( #1140 )
2021-07-02 22:29:29 +08:00
youn
c268f98404
add form encoding ( #1138 )
...
* add form encoding
* update examples go mod
2021-07-01 20:36:12 +08:00
包子
bdb51d2696
feat(examples): add benchmark example ( #1134 )
...
* feat(examples): add benchmark example
* fix examples/benchmark/test.sh
* fix: remove go.mod from examples / benchmark
2021-07-01 09:49:35 +08:00
longxboy
798b0e6e7d
upgrade otel to v1 rc1 ( #1132 )
2021-06-30 19:25:08 +08:00
Kagaya
bba6f16017
feat: add int/int32/Stringer support when get atomicValue ( #1130 )
2021-06-30 18:07:11 +08:00
dachang
e45caab322
http stop should use ctx ( #1131 )
2021-06-30 18:01:56 +08:00
longxboy
7530fadde0
Feat/fix examples ( #1129 )
...
remove github protobuf dependency
2021-06-30 15:33:08 +08:00
包子
6dd3f7f301
fix(cmd): fix kratos proto client, add parameter ./third_party ( #1127 )
...
* fix(cmd): fix kratos proto client, add parameter ./third_party
2021-06-30 15:23:39 +08:00
Tony Chen
d4d6925cd0
cmd/protoc-gen-go-http: fix http protoc to bind query_string ( #1126 )
...
* fix http protoc to bind query_string
Co-authored-by: longXboy <longxboyhi@gmail.com>
2021-06-30 14:13:28 +08:00
IMTTX
0cdeb6c16b
fix typos ( #1128 )
2021-06-30 11:55:01 +08:00
longxboy
a639340274
add rc7 ( #1125 )
2021-06-29 19:55:48 +08:00
Kuiba
09be032575
Add logrus example ( #1124 )
...
* add logrus logger example
Co-authored-by: Lining Guan <lining.guan@grabtaxi.com>
2021-06-29 19:53:55 +08:00
longxboy
545ffd1084
add response header ( #1119 )
...
* add response header
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-29 15:33:18 +08:00
包子
493c11929f
fix(examples): rename config to cfg in blog ( #1122 )
2021-06-29 14:57:15 +08:00
包子
725d60134c
examples: add examples/middleware ( #1121 )
...
* examples: add examples/middleware
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-06-28 23:50:30 +08:00
Scaat Feng
c7c91edeb6
[FIX]the flag name, remove redundant hyphen ( #1118 )
2021-06-28 22:26:11 +08:00