-
Notifications
You must be signed in to change notification settings - Fork 33
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
[Cleanup] Rewrite interface{}
to any
#156
Labels
code health
Nice to have code improvement
core starter task
Good for newcomers, but aimed at core team members though still open for everyone
Milestone
Comments
Olshansk
added
code health
Nice to have code improvement
community
Open to or owned by a non-core team member
starter task
labels
Aug 8, 2022
14 tasks
Olshansk
changed the title
[CLEANUP] Rewrite
[Cleanup] Rewrite Aug 22, 2022
interface{}
to any
interface{}
to any
12 tasks
Olshansk
added
the
core starter task
Good for newcomers, but aimed at core team members though still open for everyone
label
Oct 7, 2022
jessicadaugherty
removed
community
Open to or owned by a non-core team member
starter task
core starter task
Good for newcomers, but aimed at core team members though still open for everyone
labels
Nov 28, 2022
Olshansk
added
the
core starter task
Good for newcomers, but aimed at core team members though still open for everyone
label
Dec 15, 2022
This can be done with |
16 tasks
That is some bash foo 🥋 |
h5law
added a commit
that referenced
this issue
Jan 20, 2023
## Description Simply replace all occurances of `interface{}` with `any` - using the shell command ```bash find ./ \( -type d -name .git -prune \) -o -type f -name '*.go' -print0 | xargs -0 sed -i 's/interface{}/any/g' ``` ## Issue Fixes #156 ## Type of change Please mark the relevant option(s): - [ ] New feature, functionality or library - [ ] Bug fix - [x] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> ## List of changes - Replace all instances of `interface{}` with `any` ## Testing - [x] `make develop_test` - [x] [LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md) w/ all of the steps outlined in the `README` ## Required Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have tested my changes using the available tooling - [x] I have updated the corresponding CHANGELOG ### If Applicable Checklist - [ ] I have updated the corresponding README(s); local and/or global - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s) - [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
code health
Nice to have code improvement
core starter task
Good for newcomers, but aimed at core team members though still open for everyone
Objective
Replace all
interface{}
withany
. See golang/go#49884:Origin Document
The suggestion was brought up here: #139 (comment)
Goals / Deliverables
interface{}
toany
Non-goals
Testing Methodology`
make test_all
LocalNet
is still functioning correctly by following the instructions at docs/development/README.mdRemove
Creator: @Olshansk
Co-Owners: @deblasis
The text was updated successfully, but these errors were encountered: