...string
func Concat(strings ...string) bytes.Buffer {
buffer := bytes.Buffer{}
for _, str := range strings {
buffer.WriteString(str)
}
return buffer
}
Concat("Строка 1", "Строка 2", "Строка 3", "Строка 4", "Строка 5")
import (
"github.com/robfig/cron"
)
c := cron.New()
c.AddFunc("* * * * * ", func() { fmt.Println("Every second") })
c.Start()