miller/cmd/scan/main.go
John Kerl 268a96d002
Export library code in pkg/ (#1391)
* Export library code in `pkg/`

* new doc page
2023-09-10 17:15:13 -04:00

19 lines
427 B
Go

// ================================================================
// Experiments for type-inference performance optimization
// ================================================================
package main
import (
"fmt"
"os"
"github.com/johnkerl/miller/pkg/scan"
)
func main() {
for _, arg := range os.Args[1:] {
scanType := scan.FindScanType(arg)
fmt.Printf("%-10s -> %s\n", arg, scan.TypeNames[scanType])
}
}