Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

z01

PrintRune Function

This is a Go package containing a function called PrintRune that allows you to print a single Unicode rune (Unicode code point) to the standard output. The function handles encoding and writing of the rune, and it returns an error in case of encoding or writing failures.

Usage

You can use the PrintRune function in your Go code to display Unicode runes, which is particularly useful when working with non-ASCII characters and emojis.

package main

import (
	"github.com/rezzcode/z01"
)

func main() {
    // Print a Unicode rune
    z01.PrintRune('🚀')
    
}

About

a go package that print runes

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages