github.com/hattya/nazuna@v0.7.1-0.20240331055452-55e14c275c1c/nazuna.go (about)

     1  //
     2  // nazuna :: nazuna.go
     3  //
     4  //   Copyright (c) 2013-2024 Akinori Hattori <hattya@gmail.com>
     5  //
     6  //   SPDX-License-Identifier: MIT
     7  //
     8  
     9  package nazuna
    10  
    11  import "os/exec"
    12  
    13  const Version = "0.7+"
    14  
    15  type UI interface {
    16  	Print(...interface{}) (int, error)
    17  	Printf(string, ...interface{}) (int, error)
    18  	Println(...interface{}) (int, error)
    19  	Error(...interface{}) (int, error)
    20  	Errorf(string, ...interface{}) (int, error)
    21  	Errorln(...interface{}) (int, error)
    22  	Exec(*exec.Cmd) error
    23  }