hello

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 1 Imported by: 0

README

hello

just say hello

Install

import code

go get gitee.com/tut/hello@latest

install cmd

go install gitee.com/tut/hello/cmd/hello@latest

Example

Here's a simple example as follows:

package main

import (
	"fmt"
	"gitee.com/tut/hello"
)

func main() {
	result := hello.Hello("jack")
	fmt.Println(result)
}

Documentation

Overview

hello.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hello

func Hello(name string) string

Hello returns hello message

Types

This section is empty.

Directories

Path Synopsis
cmd
hello command
cmd/hello/main.go
cmd/hello/main.go

Jump to

Keyboard shortcuts

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