windirection

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2022 License: MIT Imports: 2 Imported by: 0

README

Windirection

Golang module to convert float degrees to cardinal points up to 16 positions (4 or 8 can be used too)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cardinal

type Cardinal struct {
	Short string
	Long  string
}

func DegreesToCardinal

func DegreesToCardinal(degrees float32, points int8, lang string) (*Cardinal, error)

Jump to

Keyboard shortcuts

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