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

types/views: add generic Slice[T] and remove StringSlice #4193

Merged
merged 1 commit into from Mar 17, 2022
Merged

Conversation

maisem
Copy link
Collaborator

@maisem maisem commented Mar 17, 2022

Also make IPPrefixSliceOf use Slice[netaddr.IPPrefix] as it also
provides additional functions besides the standard ones provided by
Slice[T].

I considered making type StringSlice = Slice[string] but decided against it.

Signed-off-by: Maisem Ali maisem@tailscale.com

@maisem maisem requested a review from bradfitz March 17, 2022 02:29
types/views/views.go Outdated Show resolved Hide resolved
@bradfitz
Copy link
Member

I'm fine disabling the "go generate" and "staticcheck" CI actions for a week or two.

Also make IPPrefixSliceOf use Slice[netaddr.IPPrefix] as it also
provides additional functions besides the standard ones provided by
Slice[T].

Signed-off-by: Maisem Ali <maisem@tailscale.com>
@maisem
Copy link
Collaborator Author

maisem commented Mar 17, 2022

go generate failure looks related to golang/go#51629
staticcheck failure looks related to dominikh/go-tools#1166

@maisem
Copy link
Collaborator Author

maisem commented Mar 17, 2022

I'm fine disabling the "go generate" and "staticcheck" CI actions for a week or two.

I disabled the workflows from the UI

@maisem
Copy link
Collaborator Author

maisem commented Mar 17, 2022

Tracking issue to re-enable #4194

@maisem maisem merged commit 6b9d938 into main Mar 17, 2022
@maisem maisem deleted the maisem/views branch March 17, 2022 05:13
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.

None yet

2 participants