2022-09-16 13:48:36 +03:00
|
|
|
package main
|
|
|
|
|
2022-09-20 01:56:29 +03:00
|
|
|
import (
|
|
|
|
"fmt"
|
2022-09-30 23:35:21 +03:00
|
|
|
"gotest/consecutive"
|
2022-09-20 01:56:29 +03:00
|
|
|
)
|
|
|
|
|
2022-09-16 13:48:36 +03:00
|
|
|
func main() {
|
|
|
|
|
2022-09-30 23:35:21 +03:00
|
|
|
array := []int{1, 2, 4, 3, 6, 5}
|
|
|
|
|
|
|
|
fmt.Println(consecutive.Consecutive(array))
|
2022-09-20 01:56:29 +03:00
|
|
|
|
2022-09-16 13:48:36 +03:00
|
|
|
}
|