29 lines
258 B
Go
29 lines
258 B
Go
|
|
package main
|
|
|
|
import (
|
|
// "fmt"
|
|
"os"
|
|
|
|
"t/z/cmpSnipper"
|
|
)
|
|
|
|
func main() {
|
|
app := cmpSnipper.NewApp()
|
|
var err error
|
|
|
|
err = app.Prep()
|
|
|
|
if err != nil {
|
|
os.Exit(1)
|
|
}
|
|
|
|
err = app.Proc()
|
|
|
|
if err != nil {
|
|
os.Exit(1)
|
|
}
|
|
|
|
os.Exit(0)
|
|
}
|