go-mod-example

command module
v0.0.0-...-d829ae2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 2 Imported by: 0

README

推送

  1. 在github创建仓库:https://github.com/webguosai/go-mod-example

    # 仓库中执行,再推送到github
    go mod init github.com/webguosai/go-mod-example
    
  2. 打开 https://pkg.go.dev/github.com/webguosai/go-mod-example 页面进行提交

使用

go get -u github.com/webguosai/go-mod-example
package main

import (
    "fmt"
    "github.com/webguosai/go-mod-example/core"
)

func main() {
    fmt.Println(core.GetConfig())   // 调用 core 包中的 GetConfig 函数
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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