Browse Source

docs(halfSlice): fix make title in kebab-case and fix indentation.

DEV-3188-new-go-exercise-halfslice
Hamza elkhatri 2 years ago committed by GitHub
parent
commit
fe3b58ccec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      subjects/halfslice/README.md

6
subjects/halfslice/README.md

@ -1,4 +1,4 @@
## half-Slice ## half-slice
### Instructions ### Instructions
@ -25,7 +25,7 @@ import (
func main() { func main() {
fmt.Println(HalfSlice([]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10})) fmt.Println(HalfSlice([]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}))
fmt.Println(HalfSlice([]int{1, 2, 3})) fmt.Println(HalfSlice([]int{1, 2, 3}))
} }
``` ```
@ -35,4 +35,4 @@ And its output :
$ go run . $ go run .
[1,2,3,4,5] [1,2,3,4,5]
[1,2] [1,2]
``` ```

Loading…
Cancel
Save