Skip to content

Instantly share code, notes, and snippets.

@DexterPOSH
Created February 25, 2020 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DexterPOSH/4552573306becd4480bc58caafa74ff5 to your computer and use it in GitHub Desktop.
Save DexterPOSH/4552573306becd4480bc58caafa74ff5 to your computer and use it in GitHub Desktop.
Test content file generated from Hugo CLI
title date draft
1 Hello World
2020-02-25 19:23:53 +0530
true

Introduction

Customary "Hello World" program.

Create a file named hello.go and update its content like below:

package main

import "fmt"

func main() {
	fmt.Print("Hello World")
}

Now run the code by issuing:

$ go run hello.go
Hello World
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment