mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
* Update package version * Update makefile targets * Update readme packages * Remaining old packages via rg/sd
19 lines
430 B
Go
19 lines
430 B
Go
// ================================================================
|
|
// Experiments for type-inference performance optimization
|
|
// ================================================================
|
|
|
|
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/johnkerl/miller/v6/pkg/scan"
|
|
)
|
|
|
|
func main() {
|
|
for _, arg := range os.Args[1:] {
|
|
scanType := scan.FindScanType(arg)
|
|
fmt.Printf("%-10s -> %s\n", arg, scan.TypeNames[scanType])
|
|
}
|
|
}
|