Commit Graph

178 Commits

Author SHA1 Message Date
Ross Light
d3585c5243 docs: add FAQ for explicit binds (#267)
Updates #242
2020-11-28 16:31:21 -08:00
Eli Bendersky
31708f3b2e doc: update README to point to issues for questions (#264) 2020-11-04 13:36:25 -08:00
Matt Wlazlo
523d8fbe88 Permit specifying build tags for analysis (#252)
Fixes #251
2020-07-09 08:41:00 -07:00
Taiki Fukui
8d4ff5b1ae docs: fix syntax error (#255) 2020-07-04 09:07:18 -07:00
ajjensen13
4d5ab743af internal/wire: copy doc comment for generated injectors (#254)
Fixes #244
2020-06-11 08:06:02 -07:00
Aleksandr Razumov
978b7803d3 internal/wire: remove unused method (#249) 2020-05-24 08:25:52 -07:00
Jason Song
ff891bb6d8 cmd/wire: simplify gather append (#248) 2020-05-04 08:36:46 -07:00
Dmitry Savintsev
fda113507a internal/wire: fix panic in objectCache.processExpr (#236) 2020-01-10 10:10:27 -08:00
Ahmed
578b29ef42 all: remove unused dependencies (#228) 2019-12-11 10:11:01 -08:00
Ross Light
b730ad0fbf internal/wire: use set to determine which argument to use in zero-call injectors (#223)
Fixes #222
2019-11-27 15:23:39 -08:00
Ross Light
a5347c86bc internal/wire: fix crash when giving wire.Struct a bad first argument (#220) 2019-11-11 11:06:03 -08:00
Ross Light
0d3b2ebd4a internal/wire: mark tests as parallelizable (#218) 2019-10-25 15:00:03 -07:00
Eli Bendersky
f240b7ac70 README: reflect new project status (#217) 2019-10-05 07:58:47 -07:00
Jose Gil
55a93fac11 cmd: Add --output_file_prefix, which sets a prefix for the output file name "wire_gen.go" 2019-09-25 08:59:48 -07:00
Robert van Gent
c385f07c5d wire: wire.FieldsOf should not provide pointer to field type for non-pointer structs (#210) 2019-09-05 14:17:17 -07:00
Robert van Gent
f85ec5c4a6 all: enable go 1.13 (#212) 2019-09-05 11:50:57 -07:00
Robert van Gent
2b7d1205a1 wire: FieldsOf now provides a pointer to the field type as well as the actual field type (#209) 2019-09-03 12:57:57 -07:00
Ariel Mashraki
66f78fc846 internal/wire: replace keyword list with token api (#203) 2019-07-16 09:00:00 -07:00
Eli Bendersky
2f518a0d93 Update README to use wording from annoucement w.r.t. beta (#199) 2019-06-18 13:09:35 -07:00
shantuo
8c5af0eafa change project status (#198) 2019-06-18 11:49:16 -07:00
shantuo
89cb901fdf document wire.Struct first argument (#197) 2019-06-17 17:27:07 -07:00
shantuo
93b1ce745f doc: add guide to use the wire:"-" tag (#195) 2019-06-11 15:35:05 -07:00
Y.Horie
000df02f3d parse: use reflect.StructTag to detect wire tags #179 (#181) 2019-06-03 14:00:48 -07:00
Robert van Gent
b5d7d7864b wire: remove color in wire show (#190)
Fixes #189
2019-05-29 15:02:06 -07:00
Robert van Gent
89bcaa23b9 wire: improve color output to term by using fatih/color (#186) 2019-05-29 11:46:31 -07:00
shantuo
ed1f30e1e8 docs: add FieldsOf to the guide (#159) 2019-05-17 16:02:42 -07:00
shantuo
cbfca74d8a wire: support using '-' tag to prevent filling struct fields (#163) 2019-05-17 15:56:42 -07:00
Ross Light
7d9ac45bea internal: fix issues found by shellcheck (#177) 2019-05-16 14:54:17 -07:00
Robert van Gent
fe01654174 cmd/wire: add a --header_file flag to the "gen" and "diff" commands (#175) 2019-05-16 09:56:42 -07:00
Robert van Gent
d76a979091 wire: use subcommands package, improving help (#173) 2019-05-14 12:51:16 -07:00
Robert van Gent
c1be6ec0d8 travis: refresh runtests.sh and Travis config (#174) 2019-05-14 11:31:53 -07:00
Robert van Gent
c1a359a7ca docs: clarify docstring about function parameters being of non-identical types (#167) 2019-05-10 14:11:27 -07:00
Jan Hájek
2183ee4806 internal/wire: add package name to unused provider message (#162)
Fixes #161
2019-05-02 09:57:08 -07:00
shantuo
d079521b6f wire: reword the deprecation message of struct (#158) 2019-04-23 13:27:33 -07:00
shantuo
b1c66a196d docs: update docs with the bind and struct changes (#155) 2019-04-23 10:00:57 -07:00
Robert van Gent
63cf8b9f27 go.mod: update to latest version of golang.org/x/tools (#156) 2019-04-23 09:43:42 -07:00
shantuo
e9e631cd71 Bind: takes a pointer for the second argument (#152) 2019-04-12 23:50:45 -07:00
shantuo
65ae46b7ea internal/wire: support specifying struct fields to inject (#147)
Added wire.Struct function and deprecate old form.

Updates #36
2019-03-28 09:00:20 -07:00
shantuo
aeaafca1a6 cmd: support FieldsOf in show (#143) 2019-03-06 16:19:50 -08:00
shantuo
327f42724c add FieldsOf to inject fields of a struct directly (#138) 2019-03-01 13:52:07 -08:00
shantuo
58e5de342a guide: clarify interface binding examples (#141) 2019-03-01 11:28:55 -08:00
shantuo
3f9f9c7363 add documentation to InterfaceValue (#142) 2019-03-01 11:20:45 -08:00
Robert van Gent
5a138ef498 codecov: also disable patch coverage check (#137) 2019-02-25 15:50:40 -08:00
Robert van Gent
aa93d6ea07 travis: remove coveralls, only use codecov (#136) 2019-02-25 14:35:53 -08:00
Robert van Gent
7916902074 codecov: disable PR comments (#135) 2019-02-25 12:24:46 -08:00
Eli Bendersky
f2838ea5ec admin: removing proxy instructions, script, and .travis.yml reference (#133) 2019-02-25 09:23:52 -08:00
Eli Bendersky
f597512d4c Change warning displayed when PRs don't start with component name (#129) 2019-02-25 09:22:43 -08:00
Robert van Gent
3fdd4c2254 travis: add codecov.yml with threshold=0 (#132) 2019-02-19 07:28:54 -08:00
Robert van Gent
2f2872ac02 travis: try using codecov (#131) 2019-02-15 11:31:52 -08:00
Eli Bendersky
9a6cb457fe travis: remove GOPROXY setting (#130)
Fixes #127
2019-02-15 07:59:56 -08:00