Skip to content

qrhfz/tern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tern

A ternary package for Go

Why

Go is missing one crucial feature that C even has, ternary.
Go author have no intention to add this feature for the potential "abuse" they said.

Installation

go get -u "github.com/qrhfz/tern"
import "github.com/qrhfz/tern"

Example

PORT := tern.E(production, 80, 8000)

Releases

No releases published

Packages

No packages published

Languages