mirror of
https://github.com/snail007/goproxy.git
synced 2026-04-27 00:15:51 +03:00
[PR #140] [MERGED] services: simplify switch statements with case clause lists #539
Labels
No labels
TODO
bug
duplicate
enhancement
good first issue
help wanted
helpful
invalid
need-confirm
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/goproxy#539
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/snail007/goproxy/pull/140
Author: @quasilyte
Created: 9/13/2018
Status: ✅ Merged
Merged: 9/14/2018
Merged by: @snail007
Base:
dev← Head:quasilyte/emptyFallthrough📝 Commits (3)
900b975Update install_auto.sh70067d6services: simplify switch statements with case clause lists03ef384Update install_auto.sh📊 Changes
4 files changed (+4 additions, -18 deletions)
View changed files
📝
services/socks/socks.go(+1 -5)📝
services/sps/sps.go(+1 -5)📝
services/tcp/tcp.go(+1 -5)📝
services/udp/udp.go(+1 -3)📄 Description
Case clause lists are simpler and more compact than
multiple cases with fallthrough.
Found using https://go-critic.github.io/overview#emptyFallthrough-ref
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.