Versions in this module Expand all Collapse all v1 v1.3.0 Jan 26, 2019 Changes in this version + type Contract struct + End token.Pos + NextNodePos token.Pos + Start token.Pos + func ToContract(fset *token.FileSet, fn *ast.FuncDecl, bodyCmtMap ast.CommentMap) (c Contract, err error)