Update count.go

This commit is contained in:
kuoi 2022-01-15 11:49:39 +00:00 committed by GitHub
parent 7049e607c3
commit eb831287cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,7 @@ type charset struct {
}
// 遍历文件得到基本数据
// get basic data
func fas_sum() []dna {
sum := []dna{}
for i, f := range file_input {
@ -22,6 +23,7 @@ func fas_sum() []dna {
}
// 整合若干文件的统计
// combine the data from different files
func fas_count(sum_nex []dna) []charset {
fas_charset := []charset{}
for k, v := range sum_nex {