src: doc for exported symbols (#9)

This commit is contained in:
Michael McLoughlin
2019-01-04 19:39:17 -08:00
parent 9d4cd16f88
commit 4cbe31e0bd

View File

@@ -13,6 +13,7 @@ type Position struct {
Line int // 1-up
}
// FramePosition returns the Position of the given stack frame.
func FramePosition(f runtime.Frame) Position {
return Position{
Filename: f.File,