From 6d13a807b50d6bd70eb2d6a4c92d5bcee9f6281f Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 21 Mar 2025 09:31:42 +0000 Subject: [PATCH 1/2] Indent list correctly --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 8978797..747dab4 100644 --- a/README.md +++ b/README.md @@ -34,15 +34,15 @@ command. Limitations: - - It is limited to a single package at a time. - - There is no way to automatically stub all exports. - - It does not generate memory-compatible types, as unexported types are - skipped. - - There is no way to automatically detect exports used in a program. - - There is no way to specify specific methods on a type; all methods are - automatically stubbed. - - It cannot currently distinguish between type aliases. This is a - limitation of the `reflect` package. +- It is limited to a single package at a time. +- There is no way to automatically stub all exports. +- It does not generate memory-compatible types, as unexported types are + skipped. +- There is no way to automatically detect exports used in a program. +- There is no way to specify specific methods on a type; all methods are + automatically stubbed. +- It cannot currently distinguish between type aliases. This is a + limitation of the `reflect` package. Please feel free to submit a [pull request](https://github.com/github/depstubber/pulls) for any of the above, or From ed35197401cecfc266f014a386558f5b02e4e69f Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Fri, 21 Mar 2025 09:32:33 +0000 Subject: [PATCH 2/2] Add known limitation about promoted methods --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 747dab4..3fed026 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ Limitations: automatically stubbed. - It cannot currently distinguish between type aliases. This is a limitation of the `reflect` package. +- It makes new method declarations for promoted methods. This is a + limitation of the `reflect` package. Please feel free to submit a [pull request](https://github.com/github/depstubber/pulls) for any of the above, or