pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/go-goreturns devel/go-goreturns: Import version ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8274eb9c590b
branches:  trunk
changeset: 383100:8274eb9c590b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jul 21 22:07:31 2018 +0000

description:
devel/go-goreturns: Import version 0.0.20180301

A gofmt/goimports-like tool for Go programmers that fills in Go return
statements with zero values to match the func return types. This tool
adds zero-value return values to incomplete Go return statements, to
save you time when writing Go. It is inspired by and based on
goimports.

diffstat:

 devel/go-goreturns/DESCR    |   5 +++++
 devel/go-goreturns/Makefile |  20 ++++++++++++++++++++
 devel/go-goreturns/PLIST    |  13 +++++++++++++
 devel/go-goreturns/distinfo |   6 ++++++
 4 files changed, 44 insertions(+), 0 deletions(-)

diffs (60 lines):

diff -r eac12cf87a98 -r 8274eb9c590b devel/go-goreturns/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-goreturns/DESCR  Sat Jul 21 22:07:31 2018 +0000
@@ -0,0 +1,5 @@
+A gofmt/goimports-like tool for Go programmers that fills in Go return
+statements with zero values to match the func return types. This tool
+adds zero-value return values to incomplete Go return statements, to
+save you time when writing Go. It is inspired by and based on
+goimports.
diff -r eac12cf87a98 -r 8274eb9c590b devel/go-goreturns/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-goreturns/Makefile       Sat Jul 21 22:07:31 2018 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2018/07/21 22:07:31 minskim Exp $
+
+DISTNAME=      goreturns-0.0.20180301
+PKGNAME=       go-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=sqs/}
+GITHUB_PROJECT=        goreturns
+GITHUB_TAG=    83e02874ec120f73d5f7dd382d62449dc8abe9c6
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sqs/goreturns
+COMMENT=       Formatting tool filling in return statements with zero values
+LICENSE=       modified-bsd
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/sqs/${GITHUB_PROJECT}
+
+.include "../../devel/go-tools/buildlink3.mk"
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r eac12cf87a98 -r 8274eb9c590b devel/go-goreturns/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-goreturns/PLIST  Sat Jul 21 22:07:31 2018 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2018/07/21 22:07:31 minskim Exp $
+bin/goreturns
+gopkg/pkg/${GO_PLATFORM}/github.com/sqs/goreturns/returns.a
+gopkg/src/github.com/sqs/goreturns/LICENSE
+gopkg/src/github.com/sqs/goreturns/README.md
+gopkg/src/github.com/sqs/goreturns/_samples/a.go
+gopkg/src/github.com/sqs/goreturns/_samples/b.go
+gopkg/src/github.com/sqs/goreturns/goreturns.go
+gopkg/src/github.com/sqs/goreturns/returns/fix.go
+gopkg/src/github.com/sqs/goreturns/returns/fix_test.go
+gopkg/src/github.com/sqs/goreturns/returns/index.go
+gopkg/src/github.com/sqs/goreturns/returns/returns.go
+gopkg/src/github.com/sqs/goreturns/screencast.gif
diff -r eac12cf87a98 -r 8274eb9c590b devel/go-goreturns/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/go-goreturns/distinfo       Sat Jul 21 22:07:31 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/07/21 22:07:31 minskim Exp $
+
+SHA1 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = a8e48a4ff473181d9250eb1298533615a19496cd
+RMD160 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = 130035e3f6c694a704b86064c5292b512d2daa0e
+SHA512 (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = 
c0775f425dd1b3bb1b95d1735db249699ca21d5ef4d654604e1b2a98502a0f124026d0d365819e9ff4be502b6a65d3fa60bd4dc700ded6563a259bc3bffc7d95
+Size (goreturns-0.0.20180301-83e02874ec120f73d5f7dd382d62449dc8abe9c6.tar.gz) = 6072825 bytes



Home | Main Index | Thread Index | Old Index