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" import "bitbucket.org/ausocean/av/tools"
//"../tools"
const ( const (
headerLength = 72 headerLength = 72
version = 0x01 version = 0x01

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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