evaluate_readme

command
v1.5.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2021 License: MIT Imports: 5 Imported by: 0

README

This example will find all golang code in this README.md file and run it.
This can be useful to test if your examples in your readme actually work.

package main

import "fmt"

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

Documentation

Overview

read README.md and find all ```go ``` snippets and run them

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL