emoji

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2014 License: MIT Imports: 5 Imported by: 388

README

Emoji

Emoji is a simple golang package.

Usage

package main

import (
    "github.com/kyokomi/emoji"
)

func main() {
    emoji.Println("@{:beer:}BEER!!!")
}

Reference

Documentation

Overview

emoji.go

emoji.Println("@{:beer:}Example Text")

Index

Constants

View Source
const (
	EscapeChar     = '@' // Escape character for emoji syntax
	ReplacePadding = " "
)

Variables

View Source
var CodeMap = map[string]string{}/* 870 elements not displayed */

Mapping from character to concrete escape code.

Functions

func Emojize

func Emojize(x string) string

func Errorf

func Errorf(format string, a ...interface{}) error

func Fprint

func Fprint(w io.Writer, a ...interface{}) (int, error)

func Fprintf

func Fprintf(w io.Writer, format string, a ...interface{}) (int, error)

func Fprintln

func Fprintln(w io.Writer, a ...interface{}) (int, error)

func Print

func Print(a ...interface{}) (int, error)

func Printf

func Printf(format string, a ...interface{}) (int, error)

func Println

func Println(a ...interface{}) (int, error)

func Sprint

func Sprint(a ...interface{}) string

func Sprintf

func Sprintf(format string, a ...interface{}) string

Types

This section is empty.

Directories

Path Synopsis
cmd module

Jump to

Keyboard shortcuts

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