Skip to content

Latest commit

 

History

History
31 lines (17 loc) · 696 Bytes

docs.md

File metadata and controls

31 lines (17 loc) · 696 Bytes

A hello world in Go

Go is very simple, here you can see a whole "hello, world" program.

We can try to embed a file from a directory.

You always start with a package statement like:

Followed by an import statement:

You can also see how to get the current time:

embedmd:# (hello.go /time.[^)]*)/)

You can also have some extra code independent from embedmd

print 'hello'

And why not include some file directly from GitHub?