tern is a lightweight Go package for simple, concise ternary expressions, enabling clear conditional logic.
-
Updated
May 7, 2025 - Go
tern is a lightweight Go package for simple, concise ternary expressions, enabling clear conditional logic.
Package conditional is go/golang replacement for ternary if/else operator
TernAry is a simple, lightweight, and easy-to-use function to implement a ternary statement in golang.
Provides a simple implementation of ternary expressions
ternary - Encode and encrypt messages as large ternary number and back.
Add a description, image, and links to the ternary topic page so that developers can more easily learn about it.
To associate your repository with the ternary topic, visit your repo's landing page and select "manage topics."