Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shipengqi/golang-learn
:books: Go language learning ...
https://github.com/shipengqi/golang-learn
Last synced: 4 days ago
JSON representation
:books: Go language learning ...
- Host: GitHub
- URL: https://github.com/shipengqi/golang-learn
- Owner: shipengqi
- License: mit
- Created: 2018-08-09T04:48:20.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-12-17T09:27:42.000Z (6 days ago)
- Last Synced: 2024-12-17T10:27:28.243Z (6 days ago)
- Language: Shell
- Homepage: https://shipengqi.github.io/golang-learn
- Size: 23.8 MB
- Stars: 127
- Watchers: 2
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# golang-learn
Go learning ...
## Usage
Initialize project as a Hugo Module using the `hugo mod init` command:
```sh
hugo mod init github.com/shipengqi/golang-learn
```Adding the [Hextra](https://github.com/imfing/hextra) theme:
```yaml
baseURL: "https://shipengqi.github.io/golang-learn"
title: "Golang Learning"module:
imports:
- path: github.com/imfing/hextra
```Start server:
```sh
hugo server -D
```Manually deploy:
```sh
./deploy.sh
```> Any changes in the `content` directory will automatically trigger a deployment.
## Update Theme
To update all Hugo modules in your project to their latest versions, run the following command:
```
hugo mod get -u
```To update Hextra to the latest released version, run the following command:
```
hugo mod get -u github.com/imfing/hextra
```