xianmian168
05c44d9033
repair some misspelling ( #1248 )
...
* Update calloption.go
* Update random.go
repair misspelling
2021-07-25 22:05:14 +08:00
zwhyb
7977deac65
middleware/selector ( #1244 )
...
* middleware selector client and support array
2021-07-25 21:58:40 +08:00
Kagaya
3660a8d65d
fix(env): index out panic when env key is preifix ( #1247 )
2021-07-25 20:39:03 +08:00
喵喵大人
d09ba5e3ee
style: add gosimple linter and gofmt linter ( #1242 )
2021-07-25 12:09:38 +08:00
Tony Chen
f872ec4685
mod: clean cmd mod ( #1240 )
2021-07-25 00:29:09 +08:00
Tony Chen
77a39d3bb6
mod: upgrade uuid & form ( #1239 )
...
* mod: upgrade uuid & form
* add release version
2021-07-25 00:07:51 +08:00
Tony Chen
cb7fc2d72a
Revert "replace env underscore to dot ( #1229 )" ( #1235 )
...
This reverts commit 38c9def445
.
2021-07-24 00:30:58 +08:00
longxboy
dca963a236
fix http resovler bug ( #1231 )
...
* fix http resovler bug
* delete unused code
2021-07-23 22:42:52 +08:00
longxboy
38c9def445
replace env underscore to dot ( #1229 )
...
* replace env underscore to dot
* Compatible with dot format
2021-07-23 22:38:18 +08:00
zwhyb
d4ac341bc8
http get方法 url 参数带中括号 ( #1226 )
...
* fix url query array problem
* use TrimSuffix
2021-07-23 22:37:17 +08:00
徐胖
77d2cfb653
chore(config/env): minor refactor ( #1232 )
...
* chore(config/env): minor refactor
2021-07-23 22:30:28 +08:00
Yongzheng Lai
97222012e4
fix: using rv directly ( #1213 )
2021-07-23 09:22:39 +08:00
包子
b6d005b21e
chore(examples/event): examples of increasing use of event ( #1228 )
...
* chore(examples/event): examples of increasing use of event
2021-07-22 18:03:19 +08:00
longxboy
e1228d454a
support expand config keys ( #1224 )
...
* support expand config keys
* fix bytes in convertMap
2021-07-21 23:09:34 +08:00
包子
1a0a1b8a89
fix(cmd/new): print exception to console ( #1227 )
...
* fix(cmd/new): print exception to console
* using git command to replace judgment text
2021-07-21 22:44:11 +08:00
Kuiba
0e70bddaa9
fix(config): load env and file source order bug ( #1220 )
...
* fix config load env & file order bug
* fix watch issue
* return empty as each update can be resolved
2021-07-21 15:58:43 +08:00
pokitpeng
ab45baf5ec
chore: add zookeeper registry example ( #1223 )
2021-07-21 12:54:13 +08:00
包子
41ad9061db
fix: fixed kratos "new" command #1218 ( #1221 )
...
* fix: fixed kratos "new" command
2021-07-21 10:02:28 +08:00
包子
5559923193
feat(cmd/changelog): add chore group ( #1217 )
2021-07-20 17:38:56 +08:00
longxboy
dba4b4007d
update WithDecoder comment
2021-07-20 16:09:57 +08:00
longxboy
a02d9b4192
add zero endpoint protection ( #1215 )
...
* add zero endpoint protection
2021-07-20 13:36:19 +08:00
Kuiba
44dd641f28
test config struct ( #1212 )
2021-07-20 09:55:18 +08:00
Richard
ff24e18a94
chore: optimize import sort and the short description of run cmd ( #1211 )
...
* chore: change lowercase to uppercase
* chore: optimize import
2021-07-19 22:18:36 +08:00
包子
c2e25ffd11
chore(typo): fixed document errors in README_ZH ( #1209 )
2021-07-19 10:01:44 +08:00
longXboy
f0d077a328
change version to 2.0.1
2021-07-18 20:15:52 +08:00
longxboy
4e529d1e30
add router group for http server ( #1208 )
2021-07-18 20:12:20 +08:00
longXboy
078ca6bc9b
add sub router for http
2021-07-18 19:30:39 +08:00
拉小轰
5d07a94b16
use "and" replace "sub" ( #1207 )
2021-07-18 15:01:08 +08:00
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