mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-07 01:22:51 +08:00
规范性改动
This commit is contained in:
@@ -574,5 +574,4 @@ func (s *MpegTsStream) Feed(ts io.Reader) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return nil
|
|
||||||
}
|
}
|
||||||
|
@@ -2,9 +2,10 @@ package pio
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
func ExampleVec() {
|
func TestExampleVec(t *testing.T) {
|
||||||
vec := [][]byte{[]byte{1, 2, 3}, []byte{4, 5, 6, 7, 8, 9}, []byte{10, 11, 12, 13}}
|
vec := [][]byte{[]byte{1, 2, 3}, []byte{4, 5, 6, 7, 8, 9}, []byte{10, 11, 12, 13}}
|
||||||
println(VecLen(vec))
|
println(VecLen(vec))
|
||||||
|
|
||||||
|
@@ -37,8 +37,6 @@ func ReadFileLines(filename string) (lines []string, err error) {
|
|||||||
|
|
||||||
lines = append(lines, string(line))
|
lines = append(lines, string(line))
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func CurrentDir(path ...string) string {
|
func CurrentDir(path ...string) string {
|
||||||
|
Reference in New Issue
Block a user