Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit 0454106

Browse files
committed
test replacement
1 parent b02432a commit 0454106

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ linters:
3434
- scopelint
3535
- dupl
3636
- interfacer
37+
- gosimple
3738

3839
# golangci.com configuration
3940
# https://github.com/golangci/golangci/wiki/Configuration

p/nums.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package p
2+
3+
func GetNumsExceptFirst(nums []int) []int {
4+
return nums[1:len(nums)]
5+
}

0 commit comments

Comments
 (0)