simpmod

package module
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: MIT Imports: 0 Imported by: 0

README

Simple Module

An example of a simple Go module.

Usage

Add a dependency for a package.

go get github.com/gocias/simple-module
go get github.com/gocias/simple-module@v0.4.0

Use the "Hello" method from the module.

package main

import (
	"fmt"
	simpmod "github.com/gocias/simple-module"
)

func main() {
	fmt.Println(simpmod.Hello())
}

Documentation

Index

Constants

View Source
const ConstHello = "Hello, World!"

Variables

This section is empty.

Functions

func Hello

func Hello() string

Hello Just the greeting...

Types

This section is empty.

Jump to

Keyboard shortcuts

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