Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chai2010/wqy-microhei-go
Go语言文泉驿微米黑字体
https://github.com/chai2010/wqy-microhei-go
Last synced: 3 months ago
JSON representation
Go语言文泉驿微米黑字体
- Host: GitHub
- URL: https://github.com/chai2010/wqy-microhei-go
- Owner: chai2010
- Created: 2020-03-30T02:41:57.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-04-03T00:04:07.000Z (almost 5 years ago)
- Last Synced: 2024-10-06T01:18:23.651Z (3 months ago)
- Language: Go
- Size: 5.12 MB
- Stars: 5
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
- *赞助 BTC: 1Cbd6oGAUUyBi7X7MaR4np4nTmQZXVgkCW*
- *赞助 ETH: 0x623A3C3a72186A6336C79b18Ac1eD36e1c71A8a6*
- *Go语言付费QQ群: 1055927514*----
# Go语言文泉驿微米黑字体
```go
package mainimport (
"fmt"
"log"
"net/http""github.com/chai2010/wqy-microhei-go"
)func main() {
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, wqy_microhei.Version)
})
http.HandleFunc("/data", func(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, wqy_microhei.FontData)
})log.Fatal(http.ListenAndServe(":8080", nil))
}
```