colorproxy

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package colorproxy is a package that provides a color proxy for the app.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Color

type Color interface {
	BlueString(format string, a ...interface{}) string
	GreenString(format string, a ...interface{}) string
	RedString(format string, a ...interface{}) string
	YellowString(format string, a ...interface{}) string
}

Color is an interface for color.

func New

func New() Color

New is a constructor for BufferProxy.

type ColorProxy

type ColorProxy struct{}

ColorProxy is a struct that implements Color.

func (*ColorProxy) BlueString added in v1.2.0

func (*ColorProxy) BlueString(format string, a ...interface{}) string

BlueString is a proxy for color.BlueString.

func (*ColorProxy) GreenString

func (*ColorProxy) GreenString(format string, a ...interface{}) string

GreenString is a proxy for color.GreenString.

func (*ColorProxy) RedString

func (*ColorProxy) RedString(format string, a ...interface{}) string

RedString is a proxy for color.RedString.

func (*ColorProxy) YellowString

func (*ColorProxy) YellowString(format string, a ...interface{}) string

YellowString is a proxy for color.YellowString.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL