
The highest tagged major version is
v2.
package
module
Version:
v0.0.3-0...-3c91bc3
Opens a new window with list of versions in this module.
Published: Jun 1, 2015
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 388
Opens a new window with list of known importers.
README
¶
Emoji
Emoji is a simple golang package.

Usage
package main
import (
"fmt"
"github.com/kyokomi/emoji"
)
func main() {
fmt.Println("Hello Wolrd Emoji!")
emoji.Println(":beer: Beer!!!")
pizzaMessage := emoji.Sprint("I like a :pizza: and :sushi:!!")
fmt.Println(pizzaMessage)
}
Demo

Reference
License
MIT
Documentation
¶
Package emoji terminal output.
- Constants
-
func CodeMap() map[string]string
-
func Errorf(format string, a ...interface{}) error
-
func Fprint(w io.Writer, a ...interface{}) (int, error)
-
func Fprintf(w io.Writer, format string, a ...interface{}) (int, error)
-
func Fprintln(w io.Writer, a ...interface{}) (int, error)
-
func Print(a ...interface{}) (int, error)
-
func Printf(format string, a ...interface{}) (int, error)
-
func Println(a ...interface{}) (int, error)
-
func Sprint(a ...interface{}) string
-
func Sprintf(format string, a ...interface{}) string
Replace Padding character for emoji.
CodeMap gets the underlying map of emoji.
Errorf is fmt.Errorf which supports emoji
Fprint is fmt.Fprint which supports emoji
Fprintf is fmt.Fprintf which supports emoji
Fprintln is fmt.Fprintln which supports emoji
func Print(a ...interface{}) (int, error)
Print is fmt.Print which supports emoji
Printf is fmt.Printf which supports emoji
func Println(a ...interface{}) (int, error)
Println is fmt.Println which supports emoji
func Sprint(a ...interface{}) string
Sprint is fmt.Sprint which supports emoji
Sprintf is fmt.Sprintf which supports emoji
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.