all: manual clean up of imports

This commit is contained in:
Dan Kortschak 2018-05-30 16:53:57 +09:30
parent 31e2b92598
commit d6fd3d4539
9 changed files with 6 additions and 35 deletions

View File

@ -29,8 +29,6 @@ package flv
import "bitbucket.org/ausocean/av/tools"
//"../tools"
const (
headerLength = 72
version = 0x01

View File

@ -27,10 +27,9 @@ LICENSE
package generator
import (
"bitbucket.org/ausocean/av/flv"
//"../flv"
_ "fmt"
"time"
"bitbucket.org/ausocean/av/flv"
)
const (

View File

@ -28,14 +28,7 @@ LICENSE
package mpegts
import (
"bitbucket.org/ausocean/av/tools"
//"../tools"
_ "errors"
//"fmt"
)
import "bitbucket.org/ausocean/av/tools"
const (
mpegTsSize = 188

View File

@ -28,10 +28,7 @@ LICENSE
package mpegts
import (
_ "fmt"
"testing"
)
import "testing"
// Just ensure that we can create a byte slice with a mpegts packet correctly
func TestMpegTsToByteSlice(t *testing.T) {

View File

@ -27,11 +27,9 @@ LICENSE
package parser
import (
"bitbucket.org/ausocean/av/itut"
//"../itut"
_ "fmt"
"time"
"bitbucket.org/ausocean/av/itut"
)
const (

View File

@ -27,11 +27,6 @@ LICENSE
package parser
import (
//"bitbucket.org/ausocean/av/itut"
_ "fmt"
)
const (
frameStartCode = 0xD8
)

View File

@ -28,8 +28,6 @@ LICENSE
package parser
import (
//"bitbucket.org/ausocean/av/itut"
_ "fmt"
"log"
"sync"
)

View File

@ -29,11 +29,9 @@ package revid
import (
"errors"
_ "fmt"
"strconv"
"bitbucket.org/ausocean/utils/smartlogger"
//"../../utils/smartlogger"
)
// Config provides parameters relevant to a revid instance. A new config must

View File

@ -28,11 +28,6 @@ LICENSE
package tools
import (
_ "fmt"
_ "os"
)
func BoolToByte(in bool) (out byte) {
if in {
out = 1