A simple Go module that provides greeting functionality for use in other Go projects.
This module contains a single function Hello that generates a personalized welcome message. It's designed to be imported and used in other Go applications.
To use this module in your Go project, add it as a dependency:
go get igorogi22/greetingsImport the module in your Go code:
import "igorogi22/greetings"Generates a personalized greeting message.
Parameters:
name(string): The name of the person to greet
Returns:
string: A formatted greeting message
Example:
package main
import (
"fmt"
"igorogi22/greetings"
)
func main() {
message := greetings.Hello("Alice")
fmt.Println(message)
// Output: Hi, Alice. Welcome!
}- Module Path:
igorogi22/greetings - Go Version: 1.23.4
- Package:
greetings
This module is provided as-is for educational and development purposes.