+++ /dev/null
-;;; go-snippets-autoloads.el --- automatically extracted autoloads
-;;
-;;; Code:
-(add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path))))
-\f
-;;;### (autoloads nil "go-snippets" "go-snippets.el" (23126 10835
-;;;;;; 780604 640000))
-;;; Generated autoloads from go-snippets.el
-
-(autoload 'go-snippets-initialize "go-snippets" "\
-
-
-\(fn)" nil nil)
-
-(eval-after-load 'yasnippet '(go-snippets-initialize))
-
-;;;***
-\f
-;;;### (autoloads nil nil ("go-snippets-pkg.el") (23126 10835 781783
-;;;;;; 534000))
-
-;;;***
-\f
-;; Local Variables:
-;; version-control: never
-;; no-byte-compile: t
-;; no-update-autoloads: t
-;; End:
-;;; go-snippets-autoloads.el ends here
+++ /dev/null
-(define-package "go-snippets" "20170831.2302" "Yasnippets for go"
- '((yasnippet "0.8.0")))
-;; Local Variables:
-;; no-byte-compile: t
-;; End:
+++ /dev/null
-;;; go-snippets.el --- Yasnippets for go
-
-;; Copyright (C) 2013 Yusuke Tsutsumi
-;; keywords: snippets
-;; Version: 0.1.0
-;; Package-Requires: ((yasnippet "0.8.0"))
-
-;; Permission is hereby granted, free of charge, to any person obtaining
-;; a copy of this software and associated documentation files (the
-;; "Software"), to deal in the Software without restriction, including
-;; without limitation the rights to use, copy, modify, merge, publish,
-;; distribute, sublicense, and/or sell copies of the Software, and to
-;; permit persons to whom the Software is furnished to do so, subject to
-;; the following conditions:
-
-;; The above copyright notice and this permission notice shall be
-;; included in all copies or substantial portions of the Software.
-
-;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-;;; Code:
-
-(defvar go-snippets-dir (file-name-directory (or (buffer-file-name)
- load-file-name)))
-
-;;;###autoload
-(defun go-snippets-initialize ()
- (let ((snip-dir (expand-file-name "snippets" go-snippets-dir)))
- (add-to-list 'yas-snippet-dirs snip-dir t)
- (yas-load-directory snip-dir)))
-
-;;;###autoload
-(eval-after-load 'yasnippet
- '(go-snippets-initialize))
-
-(require 'yasnippet)
-
-(provide 'go-snippets)
-;;; go-snippets.el ends here
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: bench
-# key: bench
-# description: add a benchmark method
-# --
-func Benchmark${1:Feature}(b *testing.B) {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# key: q
-# name: exit
-# expand-env: ((yas-indent-line 'fixed))
-# uuid: E227B994
-# contributor: Grant Rettke <gcrNOSPAMwisdomandwonder.com>
-# --
-os.Exit(${1:0})$0
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: for
-# key: for
-# description: for snippet
-# --
-for ${1:elements} {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: func
-# key: func
-# description: func snippet
-# --
-func ${1:name}(${2:arguments}) ${3:returntype} {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: helloworld
-# key: helloworld
-# decription: hello world example snippet
-# --
-package main
-
-import "fmt"
-
-func main() {
- fmt.Printf("Hello, 世界\n")
-}
-$0
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: if
-# key: if
-# description: if snippet
-# --
-if ${1:condition} {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: ifelse
-# key: ifelse
-# description: if else snippet
-# --
-if ${1:condition} {
- $0
-} else {
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: interface
-# key: interface
-# description: add an interface
-# --
-type ${1:InterfaceName} interface {
- ${2:MethodName}() ${3:ReturnType}
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: main
-# key: main
-# decription: snippet for producing the main block
-# --
-package main
-
-import "fmt"
-
-func main() {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: make
-# key: make
-# description: snippet for make builtin
-# --
-make(${1:Type}, ${2:startingSize}, ${3:memorySize})
-$0
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: method
-# key: method
-# description: snippet for struct method
-# --
-func (${1:s *Struct}) ${2:MethodName}(${3:arguments}) ${4:ReturnType} {
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: select
-# key: select
-# description: snippet for select
-# --
-select {
-case ${1:channel} <- ${2:message}:
- ${3:body}
-$0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: struct
-# key: struct
-# description: add a struct
-# --
-type ${1:StructName} struct {
- ${2:VariableName} ${3:Type}
- $0
-}
+++ /dev/null
-# -*- mode: snippet -*-
-# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
-# name: test {}
-# key: test
-# description: add a test method
-# --
-func Test${1:Feature}(t *testing.T) {
- $0
-}
--- /dev/null
+;;; go-snippets-autoloads.el --- automatically extracted autoloads
+;;
+;;; Code:
+
+(add-to-list 'load-path (directory-file-name
+ (or (file-name-directory #$) (car load-path))))
+
+\f
+;;;### (autoloads nil "go-snippets" "go-snippets.el" (0 0 0 0))
+;;; Generated autoloads from go-snippets.el
+
+(autoload 'go-snippets-initialize "go-snippets" "\
+
+
+\(fn)" nil nil)
+
+(eval-after-load 'yasnippet '(go-snippets-initialize))
+
+(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "go-snippets" '("go-snippets-dir")))
+
+;;;***
+\f
+;;;### (autoloads nil nil ("go-snippets-pkg.el") (0 0 0 0))
+
+;;;***
+\f
+;; Local Variables:
+;; version-control: never
+;; no-byte-compile: t
+;; no-update-autoloads: t
+;; coding: utf-8
+;; End:
+;;; go-snippets-autoloads.el ends here
--- /dev/null
+(define-package "go-snippets" "20180113.611" "Yasnippets for go"
+ '((yasnippet "0.8.0")))
+;; Local Variables:
+;; no-byte-compile: t
+;; End:
--- /dev/null
+;;; go-snippets.el --- Yasnippets for go
+
+;; Copyright (C) 2013 Yusuke Tsutsumi
+;; keywords: snippets
+;; Version: 0.1.0
+;; Package-Requires: ((yasnippet "0.8.0"))
+
+;; Permission is hereby granted, free of charge, to any person obtaining
+;; a copy of this software and associated documentation files (the
+;; "Software"), to deal in the Software without restriction, including
+;; without limitation the rights to use, copy, modify, merge, publish,
+;; distribute, sublicense, and/or sell copies of the Software, and to
+;; permit persons to whom the Software is furnished to do so, subject to
+;; the following conditions:
+
+;; The above copyright notice and this permission notice shall be
+;; included in all copies or substantial portions of the Software.
+
+;; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+;; EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+;; MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+;; NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+;; LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+;; OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+;; WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+;;; Code:
+
+(defvar go-snippets-dir (file-name-directory (or load-file-name
+ (buffer-file-name))))
+
+;;;###autoload
+(defun go-snippets-initialize ()
+ (let ((snip-dir (expand-file-name "snippets" go-snippets-dir)))
+ (add-to-list 'yas-snippet-dirs snip-dir t)
+ (yas-load-directory snip-dir)))
+
+;;;###autoload
+(eval-after-load 'yasnippet
+ '(go-snippets-initialize))
+
+(require 'yasnippet)
+
+(provide 'go-snippets)
+;;; go-snippets.el ends here
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: bench
+# key: bench
+# description: add a benchmark method
+# --
+func Benchmark${1:Feature}(b *testing.B) {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# key: q
+# name: exit
+# expand-env: ((yas-indent-line 'fixed))
+# uuid: E227B994
+# contributor: Grant Rettke <gcrNOSPAMwisdomandwonder.com>
+# --
+os.Exit(${1:0})$0
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: for
+# key: for
+# description: for snippet
+# --
+for ${1:elements} {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: func
+# key: func
+# description: func snippet
+# --
+func ${1:name}(${2:arguments}) ${3:returntype} {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: helloworld
+# key: helloworld
+# decription: hello world example snippet
+# --
+package main
+
+import "fmt"
+
+func main() {
+ fmt.Printf("Hello, 世界\n")
+}
+$0
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: if
+# key: if
+# description: if snippet
+# --
+if ${1:condition} {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: ifelse
+# key: ifelse
+# description: if else snippet
+# --
+if ${1:condition} {
+ $0
+} else {
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: interface
+# key: interface
+# description: add an interface
+# --
+type ${1:InterfaceName} interface {
+ ${2:MethodName}() ${3:ReturnType}
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: main
+# key: main
+# decription: snippet for producing the main block
+# --
+package main
+
+import "fmt"
+
+func main() {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: make
+# key: make
+# description: snippet for make builtin
+# --
+make(${1:Type}, ${2:startingSize}, ${3:memorySize})
+$0
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: method
+# key: method
+# description: snippet for struct method
+# --
+func (${1:s *Struct}) ${2:MethodName}(${3:arguments}) ${4:ReturnType} {
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: select
+# key: select
+# description: snippet for select
+# --
+select {
+case ${1:channel} <- ${2:message}:
+ ${3:body}
+$0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: struct
+# key: struct
+# description: add a struct
+# --
+type ${1:StructName} struct {
+ ${2:VariableName} ${3:Type}
+ $0
+}
--- /dev/null
+# -*- mode: snippet -*-
+# contributer: Yusuke Tsutsumi <tsutsumi.yusukeNOSPAMgmail.com>
+# name: test {}
+# key: test
+# description: add a test method
+# --
+func Test${1:Feature}(t *testing.T) {
+ $0
+}