RFC2047

package module
Version: v0.0.0-...-7ab4ace Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2018 License: MIT Imports: 10 Imported by: 0

README

RFC2047 for Go

An RFC2047 Decoder package for Golang

Usage

Just import "github.com/famz/RFC2047", then call "RFC2047.Decode" with your encoded string and get it decoded! See below for an example.

Install

Simple as go get github.com/famz/RFC2047

Example

package main
import (
    "github.com/famz/RFC2047"
    "fmt"
)

func main() {
    fmt.Println(RFC2047.Decode("=?UTF-8?B?5YmN5Y+w5pyJ5L2g5L+h?="))
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(s string) (ret string)

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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