Golang 终端仪表 TermUI

码农软件 · 软件分类 · 报表/图表制作 · 2019-08-19 14:42:57

软件介绍

TermUI 是 Golang 的终端仪表,灵感来自于 blessed-contrib,完全由 Go 实现。它跨平台,易于编译,并且完全定制化。

demo

示例代码:

    import ui "github.com/gizak/termui" // <- ui shortcut, optional
    func main() {
        err := ui.Init()
        if err != nil {
            panic(err)
        }
        defer ui.Close()
        p := ui.NewPar(":PRESS q TO QUIT DEMO")
        p.Height = 3
        p.Width = 50
        p.TextFgColor = ui.ColorWhite
        p.Border.Label = "Text Box"
        p.Border.FgColor = ui.ColorCyan
        g := ui.NewGauge()
        g.Percent = 50
        g.Width = 50
        g.Height = 3
        g.Y = 11
        g.Border.Label = "Gauge"
        g.BarColor = ui.ColorRed
        g.Border.FgColor = ui.ColorWhite
        g.Border.LabelFgColor = ui.ColorCyan
        ui.Render(p, g)
        // event handler...
    }

本文地址:https://codercto.com/soft/d/12711.html

Introduction to Semi-Supervised Learning

Introduction to Semi-Supervised Learning

Xiaojin Zhu、Andrew B. Goldberg / Morgan and Claypool Publishers / 2009-6-29 / USD 40.00

Semi-supervised learning is a learning paradigm concerned with the study of how computers and natural systems such as humans learn in the presence of both labeled and unlabeled data. Traditionally, le......一起来看看 《Introduction to Semi-Supervised Learning》 这本书的介绍吧!

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具