mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
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:
parent
a91abf5d5c
commit
085e831668
221 changed files with 668 additions and 668 deletions
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package bifs
|
||||
|
||||
import (
|
||||
"github.com/johnkerl/miller/pkg/mlrval"
|
||||
"github.com/johnkerl/miller/v6/pkg/mlrval"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package bifs
|
|||
import (
|
||||
"math"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/mlrval"
|
||||
"github.com/johnkerl/miller/v6/pkg/mlrval"
|
||||
)
|
||||
|
||||
func GetPercentileLinearlyInterpolated(
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ package cli
|
|||
import (
|
||||
"regexp"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/lib"
|
||||
"github.com/johnkerl/miller/v6/pkg/lib"
|
||||
)
|
||||
|
||||
type TCommentHandling int
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
package dsl
|
||||
|
||||
import (
|
||||
"github.com/johnkerl/miller/pkg/parsing/token"
|
||||
"github.com/johnkerl/miller/v6/pkg/parsing/token"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
package cst
|
||||
|
||||
import (
|
||||
"github.com/johnkerl/miller/pkg/types"
|
||||
"github.com/johnkerl/miller/v6/pkg/types"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ package cst
|
|||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/dsl"
|
||||
"github.com/johnkerl/miller/v6/pkg/dsl"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import (
|
|||
"io"
|
||||
"strings"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/lib"
|
||||
"github.com/johnkerl/miller/v6/pkg/lib"
|
||||
)
|
||||
|
||||
type ILineReader interface {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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{
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ package input
|
|||
import (
|
||||
"regexp"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/cli"
|
||||
"github.com/johnkerl/miller/v6/pkg/cli"
|
||||
)
|
||||
|
||||
func NewRecordReaderMarkdown(
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ package mlrval
|
|||
import (
|
||||
"strings"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/lib"
|
||||
"github.com/johnkerl/miller/v6/pkg/lib"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ----------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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++ {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ import (
|
|||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/johnkerl/miller/pkg/lib"
|
||||
"github.com/johnkerl/miller/v6/pkg/lib"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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...()
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = " "
|
||||
|
|
|
|||
|
|
@ -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) { ... }`.
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
)
|
||||
|
||||
// ================================================================
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
Loading…
Add table
Add a link
Reference in a new issue