blob: 78d00af1538db3057a624891de9cd9463b25910c [file] [log] [blame]
// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package p_test
import "golang.org/x/pkgsite/internal/godoc/testdata/p"
// non-executable example
func ExampleTF() {
// example comment
app := App{}
app.Name = "greet"
_ = app.Run([]string{"greet"})
}
// executable example
func ExampleF() {
// example comment
p.F()
// Output:
// ok
}