소스 검색

article limited to 8

master
Patrick Peng Sun 9 년 전
부모
커밋
66acd25049
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      kfsend.go

+ 2
- 2
kfsend.go 파일 보기

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
} }
} }

Loading…
취소
저장