Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug: Add method debug.List #10806

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

johannesengl
Copy link
Contributor

@johannesengl johannesengl commented Mar 8, 2023

This PR adds a the method debug.List.
The method returns a slice of field names and method names of the struct/pointer or keys of the map.
This method scans the provided value shallow, non-recursively.

Fixes #9148

The method returns a slice of field names and method names of the struct/pointer or keys of the map.
This method scans the provided value shallow, non-recursively.
The method is aimed to make debugging variables easier.

Fixes 9148
@johannesengl johannesengl mentioned this pull request Mar 8, 2023
@johannesengl
Copy link
Contributor Author

@bep Wondering if you would have time for a review or if you could suggest who I should ping for a review on this? Thanks :)

@andrew-werdna
Copy link

@johannesengl do you want to rebase your branch and resolve the conflicts with gohugoio/hugo:master? Maybe the maintainers will merge it or comment at that time 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add debug.List
2 participants