Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyu90221/gotest
https://github.com/yuanyu90221/gotest
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuanyu90221/gotest
- Owner: yuanyu90221
- Created: 2020-04-21T16:27:15.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-23T15:54:45.000Z (over 4 years ago)
- Last Synced: 2024-06-19T04:15:59.848Z (7 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#go package 使用
import 方式:1 別名: 把原本package name換成 另一個名稱
import bar ${package repo}
2 _ : 什麼都不引用 只載入init function
import _ ${package repo}
3 .: 把package function 直接載入global
import . ${pacakge repo}
4 載入原本的package name
import ${package repo}