Граф коммитов

  • c45008e63f
    Allow Any to take a list of matchers Robert Bittle 2022-08-12 18:03:55 -0400
  • 5b455625bd
    skip rewriting output files if unchanged (#626) Stephane Odul 2022-08-12 10:24:01 -0700
  • ccdde54a5b
    Remove superfluous log line. Stephane Odul 2022-08-12 10:10:30 -0700
  • beda6b9284 more tweaks Bradley Gore 2022-08-11 23:44:35 -0500
  • ebb9abd0a1 further solidify parsing generic types on inputs/outputs and add new scenarios Bradley Gore 2022-08-11 23:14:25 -0500
  • 69c4064122 try to split out generics-specific to generic_go118.go Bradley Gore 2022-08-11 21:12:30 -0500
  • 2c2dc39d63
    ran `go generate ./...` on the mockgen directory. Stephane Odul 2022-08-11 14:20:52 -0700
  • 9ea60b3f1e
    Use ioutil.ReadFile() for backward compatibility with Go 1.15. Stephane Odul 2022-08-11 14:03:56 -0700
  • fdeca2cd6b
    Skip rewriting output files if unchanged Stephane Odul 2022-02-22 14:58:55 -0800
  • ac74355d2d consolidate logic to parser interface to model - imported or same pkg Bradley Gore 2022-07-13 14:16:46 -0500
  • 1f03af7e74 comment tweaks/cleanup Bradley Gore 2022-07-11 15:50:50 -0500
  • 5c6c39b6a3 handle embed of external or local generic iface Bradley Gore 2022-07-11 14:57:28 -0500
  • 98733d82c7 work out interface with generic params and swapping out typenames per usage of generic icace Bradley Gore 2022-07-11 13:12:23 -0500
  • 12e411f975 start on work for generics in the AST tree Bradley Gore 2022-07-08 16:09:21 -0500
  • 60d77131c5
    Merge c99b33ac95 into 73266f9366 Georgii Kliukovkin 2022-06-24 08:32:54 +0000
  • c99b33ac95 add interfaces flag Georgii Kliukovkin 2022-06-24 10:18:54 +0300
  • 7ad0421389 Add call.Optional() Matthias Reumann 2022-06-16 11:30:30 +0200
  • 3572cc1811
    Improve debugging help for reflection errors Jamie Tanna 2022-05-23 21:10:38 +0100
  • 05327c4e49 Adopt cmp.Diff for showing unmatched arguments. Spencer Connaughton 2022-05-22 21:39:19 -0400
  • d298542dc4 README: PATH: add about tilde at `go generate` case Vitaly Zdanevich 2022-05-14 22:41:47 +0400
  • a4c3830c2c
    PATH add example Vitaly Zdanevich 2022-05-14 21:35:03 +0300
  • 73266f9366
    add support for generics for source mode (#640) v1.7.0-rc.1 Cody Oss 2022-05-11 21:06:13 -0600
  • c5f62295ad ci Cody Oss 2022-05-11 20:52:06 -0600
  • 1e070eebd9 ci Cody Oss 2022-05-11 20:49:26 -0600
  • 10be4316d7 update ci Cody Oss 2022-05-11 20:47:14 -0600
  • 4221f1215e add alias example Cody Oss 2022-05-10 20:38:07 -0600
  • 891f473681 make sure tp imports are added Cody Oss 2022-05-06 11:32:51 -0600
  • f8a33985b4 fix issue with generic types that don't use type params from interface Cody Oss 2022-05-06 11:11:58 -0600
  • 9810068760 a couple more test cases Cody Oss 2022-05-06 09:24:57 -0600
  • c1557821b7 remove comments Cody Oss 2022-05-05 11:59:13 -0600
  • 511ef13cf3 support external constraints Cody Oss 2022-05-05 11:58:19 -0600
  • 84b007dfdc add full support for IndexExpr and IndexListExpr Cody Oss 2022-05-05 11:24:24 -0600
  • 291a55037d add support for IndexListExpr Cody Oss 2022-05-04 20:32:21 -0600
  • b6c0ded655 start parsing IndexExpr Cody Oss 2022-05-04 20:25:11 -0600
  • 8cc85ca579 remove pkg from generic methods, add test Cody Oss 2022-05-03 22:45:23 -0600
  • 76124d37f9 merge Cody Oss 2022-05-03 21:18:41 -0600
  • 90e3327ab5 add support for generics Cody Oss 2022-05-03 21:13:25 -0600
  • d8fb94763b
    update min supported version to 1.15 (#641) Cody Oss 2022-05-03 21:10:05 -0600
  • 999ace380c update min supported version to 1.15 Cody Oss 2022-05-03 20:00:15 -0600
  • 313b0c72d4 update xshi 2022-03-25 16:06:53 +0800
  • 9e41473d52 update xshi 2022-03-25 15:49:42 +0800
  • 1363e9794d Add archive mode xshi 2022-03-25 15:22:31 +0800
  • d64e1a3a98 add -package_format to customize the generated package name xshi 2022-03-15 17:06:25 +0800
  • 447e411000 add exists file data comparison before write: #604 kozmod 2022-02-09 00:38:05 +0300
  • 32e424a265
    add note on keeping mockgen in sync /w lib version Cody Oss 2022-01-13 14:59:14 -0700
  • 3d14d67654
    upgrade deps (#611) Cody Oss 2022-01-10 09:20:03 -0700
  • 58d07162de update ci Cody Oss 2022-01-10 09:11:08 -0700
  • c9a059ffa7 upgrade deps Cody Oss 2022-01-10 09:00:31 -0700
  • bbc35b586f
    add some docs on default TestReporter behavior (#610) Cody Oss 2022-01-07 13:37:10 -0700
  • 29947787cd add some docs on default TestReporter behavior Cody Oss 2022-01-07 13:32:04 -0700
  • 96d9cb5c44
    Don't error out for variadic functions in Do/DoReturn (#601) Joshua Blum 2022-01-07 15:20:09 -0500
  • 5e009f958b fix typo Joshua Blum 2022-01-07 14:34:29 -0500
  • 72ff7a45db Update error message Joshua Blum 2022-01-05 18:29:26 -0500
  • aacf129393 Don't error out for variadic functions in Do/DoReturn Joshua Blum 2021-12-02 16:28:01 -0500
  • 1c055bb533
    Merge branch 'golang:master' into record-invocation-args-version Nilesh Singh 2022-01-02 23:38:52 +0530
  • bdab070d9c
    fix: missing ignore Fatal in SetArg function (#594) Vu Long (Drake) 2021-12-31 01:03:04 +0800
  • eaa4eb22bf
    Merge branch 'master' into master Cody Oss 2021-12-30 09:55:09 -0700
  • cf7e215abf
    fix: Support array parsing with length using binary expression and parenthesis (#603) Ryoya Sekino 2021-12-31 01:36:33 +0900
  • 0d1551bc5f
    Merge branch 'master' into fix_parse_array_length_with_complex_expressions Cody Oss 2021-12-30 08:58:32 -0700
  • d0edad8815
    feat: support interface in current package others files (#607) n0trace 2021-12-30 23:56:32 +0800
  • b44f6f80e0 Update dependencies Shlomo Heigh 2021-12-23 11:55:22 -0500
  • b78f3d68ad support interface in current package others files n0trace 2021-12-23 21:34:58 +0800
  • 2bc30695e4 fix parse array length with binary expression or parenthesis sryoya 2021-06-14 03:34:43 +0900
  • 168a3502de
    Merge branch 'master' into fix_parse_array_length_with_complex_expressions Ryoya Sekino 2021-12-10 17:03:26 +0900
  • 18f3f8ad29 fix parse array length with binary expression or parenthesis sryoya 2021-06-14 03:34:43 +0900
  • f50c825d15 Update the unit test for SetArgMethodInterface lovung 2021-12-10 10:09:45 +0800
  • b2cabbecb2 chore: use outputPkgName shakeshack 2021-11-17 23:11:45 -0500
  • f0f172511a chore: grammar shakeshack 2021-11-17 22:34:21 -0500
  • 1d42eb8391 fix: avoid pkg name <> import pkg name conflicts shakeshack 2021-11-17 22:31:46 -0500
  • 639b6b6ff5 Fix: Update unit test for SetArg method lovung 2021-10-30 11:11:08 +0700
  • 56a15b34b6 feat: allow setting args for variadic functions Konrad Zapałowicz 2021-08-13 23:43:36 +0200
  • 3b467302be Fix: missing ignore Fatal in SetArg function lovung 2021-10-04 15:02:03 +0700
  • 4657bf9434
    feat: support SetArg for map argument (#589) Vu Long (Drake) 2021-10-02 00:06:10 +0700
  • 35293a54e4
    Merge branch 'master' into master Cody Oss 2021-10-01 11:01:58 -0600
  • 5fc37ce94a
    chore: add 1.17 to build matrix (#593) Cody Oss 2021-10-01 09:40:15 -0600
  • e98740d1cf chore: add 1.17 to build matrix Cody Oss 2021-10-01 09:38:36 -0600
  • c430321231
    Merge branch 'master' into master Vu Long (Drake) 2021-09-18 14:47:38 +0700
  • 40d81f1ead
    add line break in for reflect vendoring error (#577) Kensei Nakada 2021-09-18 00:06:34 +0900
  • 9de18deee4 Support SetArg for map argument lovung 2021-09-17 20:51:01 +0700
  • 92949c7199 AST duplication compare only by paths, not by alias. Fix it TheZeroSlave 2021-09-07 17:28:29 +0300
  • 0d8e4cdcbf
    removed path@version for go install Saurabh Thakre 2021-09-03 15:05:58 +0530
  • 6dbd393077
    Updated README with correct information. Saurabh Thakre 2021-09-03 14:51:29 +0530
  • 56255a41a6
    Add go 1.17.x to the matrix build Kishan B 2021-08-28 18:57:56 +0530
  • ff7431f974 feat: new matcher returns true if the given variable in the wanted elements makdon 2021-08-24 22:40:07 +0800
  • 66f68602f0 Fix mockgen version Nilesh Singh 2021-08-01 00:43:22 +0530
  • a9de405b23 Merge branch 'record-invocation-args-version' of https://github.com/n1lesh/mock into record-invocation-args-version Nilesh Singh 2021-08-01 00:38:15 +0530
  • 3c87ee3fd0 Fix mockgen version Nilesh Singh 2021-08-01 00:32:40 +0530
  • d979172bbc Add argMatcher for creating new calls Dmytro Lykhovyi 2021-07-27 15:01:16 +0300
  • b2b7188c77
    Create dependabot.yml Matthieu MOREL 2021-07-21 19:51:29 +0200
  • 11cb348e73
    Merge branch 'golang:master' into record-invocation-args-version Nilesh Singh 2021-07-10 18:09:20 +0530
  • 962d948b5e
    Add: add line break Kensei Nakada 2021-06-18 11:44:46 +0900
  • 91dfb599b2
    Fix: README.md for v1.6.0 (#576) Kensei Nakada 2021-06-17 23:55:37 +0900
  • cba53382d5
    Merge branch 'master' into fix-readme-v160 Cody Oss 2021-06-17 08:51:45 -0600
  • b4a58fabee
    Fix: README.md for v1.6.0 Kensei Nakada 2021-06-17 23:23:12 +0900
  • cd1959ceee Add invocation args & mockgen version in generated code Nilesh Singh 2021-06-12 20:17:46 +0530
  • c97c001fc4 Add invocation args & mockgen version in generated code Singh, NileshKumar 2021-06-12 19:48:37 +0530
  • b96f1750f0
    Move argument requirements for Do and DoAndReturn out of example code and into function commentary (#572) Brian Conway 2021-06-11 21:06:57 -0500
  • 0ec426f7f4
    Move argument requirements for Do and DoAndReturn out of example code and into function commentary Brian Conway 2021-06-11 19:38:34 -0500
  • aba2ff9a68
    fix parse array with the external const correctly (#569) v1.6.0 Ryoya Sekino 2021-06-12 05:27:26 +0900
  • d272a9382f refine parse external const in array length sryoya 2021-06-11 09:45:13 +0900