Skip to content
/ sys Public

An unnecessary wrapper over the builtin Go package.

Notifications You must be signed in to change notification settings

bsljth/sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

sys

This is an unnecessary "wrapper" package over some built-in functions found in the "builtin" package for Go.

I like being explicit when it comes to functions and methods, and would want to know where they come from.

I am in the process of designing a programming language, and I would love to make it necessary for whatever being used (except for some keywords maybe) to be packaged and explicitly imported into a source code file.

system.out.println anyone?

Usage

Install the package to your Go module using go get

$ go get github.com/bsljth/sys

Then, simply import the package, and call the necessary function.

package main

import (
	"github.com/bsljth/sys"
)

func main() {
	sys.Log("Hello, world!")	// like console.log() in JavaScript
}

About

An unnecessary wrapper over the builtin Go package.

Topics

Resources

Stars

Watchers

Forks

Languages