tests/testthat/examples/knitr-examples/118-engine-go.md

Hello package!

package hello 

func HelloWorld(){
   println("hello world!")
}

Hello main!

package main 

func main(){
   println("hello world!")
}
## hello world!

Or specify an engine:

package main

func main(){
   println("hello world!")
}
## hello world!


Try the parsermd package in your browser

Any scripts or data that you put into this service are public.

parsermd documentation built on Aug. 21, 2025, 5:27 p.m.