From 4cbe31e0bd6dc85f08f87e09ddccd78927fad8d1 Mon Sep 17 00:00:00 2001 From: Michael McLoughlin Date: Fri, 4 Jan 2019 19:39:17 -0800 Subject: [PATCH] src: doc for exported symbols (#9) --- src/src.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/src.go b/src/src.go index fa85720..c9ccd82 100644 --- a/src/src.go +++ b/src/src.go @@ -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,