Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
narasaka committed Sep 20, 2023
1 parent 94f521d commit f5825c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions go/ros/ros2db3_to_mcap.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"strings"

"github.com/foxglove/mcap/go/mcap"
"github.com/schollz/progressbar/v3"
)

var (
Expand Down Expand Up @@ -259,7 +258,12 @@ func transformMessages(db *sql.DB, f func(*sql.Rows) error) error {
return nil
}

func DB3ToMCAP(w io.Writer, db *sql.DB, opts *mcap.WriterOptions, searchdirs []string, callbacks ...func([]byte) error) error {
func DB3ToMCAP(w io.Writer,
db *sql.DB,
opts *mcap.WriterOptions,
searchdirs []string,
callbacks ...func([]byte) error,
) error {
topics, err := getTopics(db)
if err != nil {
return err
Expand Down

0 comments on commit f5825c8

Please sign in to comment.