mirror of
https://github.com/Monibuca/engine.git
synced 2025-10-06 17:16:55 +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 (
|
||||
"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}}
|
||||
println(VecLen(vec))
|
||||
|
||||
|
@@ -37,8 +37,6 @@ func ReadFileLines(filename string) (lines []string, err error) {
|
||||
|
||||
lines = append(lines, string(line))
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
func CurrentDir(path ...string) string {
|
||||
|
Reference in New Issue
Block a user