update: slice exercises 23

This commit is contained in:
Inanc Gumus
2019-08-22 20:00:58 +03:00
parent ce5a32ecbe
commit 792a7a75d4
4 changed files with 38 additions and 65 deletions

View File

@ -14,9 +14,10 @@ import (
)
func main() {
temps := api.Read(0, 3)
temps = append(temps, []int{1, 3}...)
slice := api.Read(0, 3)
slice = append(slice, []int{1, 3}...)
fmt.Println("api.temps :", api.All())
fmt.Println("main.temps :", temps)
fmt.Println("main.slice :", slice)
}