The package version must match the major tag version (#1654)

* Update package version

* Update makefile targets

* Update readme packages

* Remaining old packages via rg/sd
This commit is contained in:
Adam Lesperance 2024-09-20 11:10:11 -05:00 committed by GitHub
parent a91abf5d5c
commit 085e831668
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
221 changed files with 668 additions and 668 deletions

View file

@ -4,8 +4,8 @@ import (
"fmt"
"math"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ================================================================

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func TestBIF_plus_unary(t *testing.T) {

View file

@ -50,9 +50,9 @@ package bifs
import (
"fmt"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// Function-pointer type for zary functions.

View file

@ -1,7 +1,7 @@
package bifs
import (
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ================================================================

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func TestBIF_bitcount(t *testing.T) {

View file

@ -5,7 +5,7 @@
package bifs
import (
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func BIF_logical_NOT(input1 *mlrval.Mlrval) *mlrval.Mlrval {

View file

@ -5,8 +5,8 @@
package bifs
import (
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

View file

@ -5,8 +5,8 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ================================================================

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func TestBIF_length(t *testing.T) {

View file

@ -5,11 +5,11 @@ import (
"regexp"
"time"
strptime "github.com/johnkerl/miller/pkg/pbnjay-strptime"
strptime "github.com/johnkerl/miller/v6/pkg/pbnjay-strptime"
"github.com/lestrrat-go/strftime"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
const ISO8601_TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"

View file

@ -7,7 +7,7 @@ import (
"crypto/sha512"
"fmt"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func BIF_md5(input1 *mlrval.Mlrval) *mlrval.Mlrval {

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func TestBIF_md5(t *testing.T) {

View file

@ -7,8 +7,8 @@ package bifs
import (
"math"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ----------------------------------------------------------------

View file

@ -3,7 +3,7 @@ package bifs
import (
"math"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func GetPercentileLinearlyInterpolated(

View file

@ -3,8 +3,8 @@ package bifs
import (
"math"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func BIF_urand() *mlrval.Mlrval {

View file

@ -3,8 +3,8 @@ package bifs
import (
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// BIF_ssub implements the ssub function -- no-frills string-replace, no

View file

@ -5,7 +5,7 @@ import (
"math"
"strings"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func BIF_dhms2sec(input1 *mlrval.Mlrval) *mlrval.Mlrval {

View file

@ -4,8 +4,8 @@ import (
"math"
"sort"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ----------------------------------------------------------------

View file

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
func stats_test_array(n int) *mlrval.Mlrval {

View file

@ -7,8 +7,8 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// ================================================================

View file

@ -6,9 +6,9 @@ import (
"runtime"
"strings"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/platform"
"github.com/johnkerl/miller/pkg/version"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/platform"
"github.com/johnkerl/miller/v6/pkg/version"
)
func BIF_version() *mlrval.Mlrval {

View file

@ -5,9 +5,9 @@ import (
"math"
"os"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ================================================================

View file

@ -42,8 +42,8 @@ import (
"sort"
"strings"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -16,9 +16,9 @@ import (
"github.com/mattn/go-isatty"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
)
// FinalizeReaderOptions does a few things.

View file

@ -9,7 +9,7 @@ package cli
import (
"regexp"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
type TCommentHandling int

View file

@ -9,7 +9,7 @@ import (
"os"
"strconv"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// For flags with values, e.g. ["-n" "10"], while we're looking at the "-n" this let us see if the "10" slot exists.

View file

@ -8,7 +8,7 @@ import (
"regexp"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/cli"
)
// loadMlrrcOrDie rule: If $MLRRC is set, use it and only it. Otherwise try

View file

@ -74,13 +74,13 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/terminals"
"github.com/johnkerl/miller/pkg/terminals/help"
"github.com/johnkerl/miller/pkg/transformers"
"github.com/johnkerl/miller/pkg/version"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/terminals"
"github.com/johnkerl/miller/v6/pkg/terminals/help"
"github.com/johnkerl/miller/v6/pkg/transformers"
"github.com/johnkerl/miller/v6/pkg/version"
)
// ParseCommandLine is the entrypoint for handling the Miller command line:

View file

@ -6,7 +6,7 @@ import (
"regexp"
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
shellquote "github.com/kballard/go-shellquote"
)

View file

@ -8,8 +8,8 @@ package dsl
import (
"fmt"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
)
// ----------------------------------------------------------------

View file

@ -5,7 +5,7 @@
package dsl
import (
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
)
// ----------------------------------------------------------------

View file

@ -5,9 +5,9 @@
package cst
import (
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ================================================================

View file

@ -8,9 +8,9 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -6,9 +6,9 @@
package cst
import (
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -19,9 +19,9 @@ import (
"sort"
"strings"
"github.com/johnkerl/miller/pkg/bifs"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/bifs"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
)
type TFunctionClass string

View file

@ -7,11 +7,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/bifs"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/bifs"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -8,11 +8,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/bifs"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/bifs"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -8,11 +8,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
type CondBlockNode struct {

View file

@ -21,11 +21,11 @@ import (
"os"
"strings"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ================================================================

View file

@ -22,10 +22,10 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
type Emit1StatementNode struct {

View file

@ -41,13 +41,13 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ================================================================

View file

@ -8,12 +8,12 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ================================================================

View file

@ -10,10 +10,10 @@ package cst
import (
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
type EnvironmentVariableNode struct {

View file

@ -10,10 +10,10 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -19,9 +19,9 @@
package cst
import (
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -7,11 +7,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -9,8 +9,8 @@
package cst
import (
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -14,12 +14,12 @@ import (
"github.com/facette/natsort"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// Most function types are in the github.com/johnkerl/miller/pkg/types package. These types, though,
// Most function types are in the github.com/johnkerl/miller/v6/pkg/types package. These types, though,
// include functions which need to access CST state in order to call back to
// user-defined functions. To avoid a package-cycle dependency, they are
// defined here.

View file

@ -7,11 +7,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -4,8 +4,8 @@ import (
"fmt"
"strings"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -8,10 +8,10 @@ import (
"fmt"
"math"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -9,10 +9,10 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -9,11 +9,11 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -11,13 +11,13 @@ import (
"os"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/parsing/lexer"
"github.com/johnkerl/miller/pkg/parsing/parser"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/parsing/lexer"
"github.com/johnkerl/miller/v6/pkg/parsing/parser"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// NewEmptyRoot sets up an empty CST, before ingesting any DSL strings. For

View file

@ -6,7 +6,7 @@
package cst
import (
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -8,7 +8,7 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/dsl"
)
// ----------------------------------------------------------------

View file

@ -9,8 +9,8 @@
package cst
import (
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -7,12 +7,12 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/output"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/output"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -7,10 +7,10 @@ package cst
import (
"container/list"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ----------------------------------------------------------------

View file

@ -8,11 +8,11 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -7,11 +7,11 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -9,8 +9,8 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -11,8 +11,8 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -7,10 +7,10 @@ package cst
import (
"fmt"
"github.com/johnkerl/miller/pkg/dsl"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/pkg/runtime"
"github.com/johnkerl/miller/v6/pkg/dsl"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/runtime"
)
// ================================================================

View file

@ -3,7 +3,7 @@ package dsl
import (
"fmt"
"github.com/johnkerl/miller/pkg/parsing/token"
"github.com/johnkerl/miller/v6/pkg/parsing/token"
)
// TokenToLocationInfo is used to track runtime errors back to source-code locations in DSL

View file

@ -10,13 +10,13 @@ import (
"os"
"path"
"github.com/johnkerl/miller/pkg/auxents"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/climain"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/platform"
"github.com/johnkerl/miller/pkg/stream"
"github.com/johnkerl/miller/pkg/transformers"
"github.com/johnkerl/miller/v6/pkg/auxents"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/climain"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/platform"
"github.com/johnkerl/miller/v6/pkg/stream"
"github.com/johnkerl/miller/v6/pkg/transformers"
)
type MainReturn struct {

View file

@ -9,7 +9,7 @@ import (
"io"
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
type ILineReader interface {

View file

@ -4,10 +4,10 @@ import (
"container/list"
"fmt"
"github.com/johnkerl/miller/pkg/bifs"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/bifs"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
type PseudoReaderGen struct {

View file

@ -6,7 +6,7 @@ package input
import (
"container/list"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/types"
)
// Since Go is concurrent, the context struct (AWK-like variables such as

View file

@ -5,10 +5,10 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/cli"
)
// go test -run=nonesuch -bench=. github.com/johnkerl/miller/pkg/input/...
// go test -run=nonesuch -bench=. github.com/johnkerl/miller/v6/pkg/input/...
func BenchmarkDKVPParse(b *testing.B) {
readerOptions := &cli.TReaderOptions{

View file

@ -8,12 +8,12 @@ import (
"strconv"
"strings"
csv "github.com/johnkerl/miller/pkg/go-csv"
csv "github.com/johnkerl/miller/v6/pkg/go-csv"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ----------------------------------------------------------------

View file

@ -25,10 +25,10 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// recordBatchGetterCSV points to either an explicit-CSV-header or

View file

@ -8,10 +8,10 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// splitter_DKVP_NIDX is a function type for the one bit of code differing

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/cli"
)
func TestRecordFromDKVPLine(t *testing.T) {

View file

@ -3,7 +3,7 @@ package input
import (
"fmt"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/cli"
)
func Create(readerOptions *cli.TReaderOptions, recordsPerBatch int64) (IRecordReader, error) {

View file

@ -8,10 +8,10 @@ import (
"encoding/json"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
type RecordReaderJSON struct {

View file

@ -3,7 +3,7 @@ package input
import (
"regexp"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/cli"
)
func NewRecordReaderMarkdown(

View file

@ -8,10 +8,10 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
func NewRecordReaderPPRINT(

View file

@ -7,10 +7,10 @@ import (
"strconv"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// recordBatchGetterTSV points to either an explicit-TSV-header or

View file

@ -8,10 +8,10 @@ import (
"regexp"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
type iXTABPairSplitter interface {

View file

@ -7,8 +7,8 @@ import (
"regexp"
"strings"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// IPairSplitter splits a string into left and right, e.g. for IPS.

View file

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/platform"
"github.com/johnkerl/miller/v6/pkg/platform"
)
// OpenOutboundHalfPipe returns a handle to a process. Writing to that handle

View file

@ -9,7 +9,7 @@ import (
"os"
"strings"
csv "github.com/johnkerl/miller/pkg/go-csv"
csv "github.com/johnkerl/miller/v6/pkg/go-csv"
)
// LoadStringsFromFileOrDir calls LoadStringFromFile if path exists and is a

View file

@ -5,7 +5,7 @@ import (
"fmt"
"strconv"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// IsEmpty determines if a map is empty.

View file

@ -25,7 +25,7 @@ package mlrval
import (
"strings"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -7,8 +7,8 @@ package mlrval
import (
"bytes"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ----------------------------------------------------------------

View file

@ -3,7 +3,7 @@ package mlrval
import (
"strconv"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
func (mv *Mlrval) GetArrayLength() (int, bool) {

View file

@ -4,7 +4,7 @@ import (
"testing"
)
// go test -run=nonesuch -bench=. github.com/johnkerl/miller/pkg/mlrval/...
// go test -run=nonesuch -bench=. github.com/johnkerl/miller/v6/pkg/mlrval/...
func BenchmarkFromDeferredType(b *testing.B) {
for i := 0; i < b.N; i++ {

View file

@ -14,7 +14,7 @@
package mlrval
import (
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
type CmpFuncBool func(input1, input2 *Mlrval) bool

View file

@ -74,7 +74,7 @@ import (
"os"
"strconv"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// ================================================================

View file

@ -4,7 +4,7 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// It's essential that we use mv.Type() not mv.mvtype, or use an Is...()

View file

@ -3,7 +3,7 @@ package mlrval
import (
"strconv"
"github.com/johnkerl/miller/pkg/scan"
"github.com/johnkerl/miller/v6/pkg/scan"
)
// TODO: comment no infer-bool from data files. Always false in this path.

View file

@ -1,7 +1,7 @@
package mlrval
import (
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// It's essential that we use mv.Type() not mv.mvtype since types are

View file

@ -14,8 +14,8 @@ import (
"fmt"
"io"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/lib"
)
const JSON_INDENT_STRING string = " "

View file

@ -8,7 +8,7 @@ import (
"errors"
"fmt"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/lib"
)
// TODO: comment for JSON-scanner context.
@ -318,7 +318,7 @@ func (mv *Mlrval) SetFromPrevalidatedBoolString(input string, boolval bool) *Mlr
// The user-defined function is of type 'interface{}' here to avoid what would
// otherwise be a package-dependency cycle between this package and
// github.com/johnkerl/miller/pkg/dsl/cst.
// github.com/johnkerl/miller/v6/pkg/dsl/cst.
//
// Nominally the name argument is the user-specified name if `func f(a, b) {
// ... }`, or some autogenerated UUID like `fl0052` if `func (a, b) { ... }`.

View file

@ -6,8 +6,8 @@ import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/types"
)
func ChannelWriter(

View file

@ -20,9 +20,9 @@ import (
"io"
"os"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/lib"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/lib"
"github.com/johnkerl/miller/v6/pkg/types"
)
// ================================================================

View file

@ -3,8 +3,8 @@ package output
import (
"bufio"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
// IRecordWriter is the abstract interface for all record-writers. They are

View file

@ -5,11 +5,11 @@ import (
"fmt"
"strings"
csv "github.com/johnkerl/miller/pkg/go-csv"
csv "github.com/johnkerl/miller/v6/pkg/go-csv"
"github.com/johnkerl/miller/pkg/cli"
"github.com/johnkerl/miller/pkg/mlrval"
"github.com/johnkerl/miller/pkg/types"
"github.com/johnkerl/miller/v6/pkg/cli"
"github.com/johnkerl/miller/v6/pkg/mlrval"
"github.com/johnkerl/miller/v6/pkg/types"
)
type RecordWriterCSV struct {

View file

@ -47,7 +47,7 @@ import (
"strings"
"unicode/utf8"
"github.com/johnkerl/miller/pkg/colorizer"
"github.com/johnkerl/miller/v6/pkg/colorizer"
)
var errInvalidDelim = errors.New("csv: invalid field or comment delimiter")

Some files were not shown because too many files have changed in this diff Show more