newbase60

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2018 License: BSD-3-Clause Imports: 0 Imported by: 2

README

newbase60 Build Status GoDoc BSD License

This package is a go implementation of Tantek Çelik's NewBase60 algorithm.

License

This library is copyright Google, but is not an official Google product. It is available under a BSD License.

Based on the NewBase60 implemention in Cassis, by Tantek Çelik, released under a CC0 license.

Documentation

Overview

Package newbase60 implements NewBase60 encoding and decoding as specified by http://ttk.me/w/NewBase60.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeToInt

func DecodeToInt(s string) int

DecodeToInt decodes the sexagesimal number s to an int.

func EncodeInt

func EncodeInt(n int) string

EncodeInt encodes the positive integer n to a sexagesimal string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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