Explorar el Código

article limited to 8

master
Patrick Peng Sun hace 9 años
padre
commit
66acd25049
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      kfsend.go

+ 2
- 2
kfsend.go Ver fichero

for _, v := range articles { for _, v := range articles {
a = append(a, v) a = append(a, v)
count++ count++
if count >= 10 {
log.Printf("too many article, only take 10")
if count >= 8 {
log.Printf("too many article, only take 8")
break break
} }
} }

Cargando…
Cancelar
Guardar