Skip to content

Commit f81cdaa

Browse files
authored
Merge pull request #183 from sue445/fix_patch_for_go_gem
Fix go import block
2 parents 4272233 + 9d5b27d commit f81cdaa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

_tools/patch_for_go_gem/patch_for_go_gem.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def create_gem_name_go
7777
import "C"
7878
7979
import (
80-
\truby "github.com/sue445/go-gem-wrapper"
80+
\t"github.com/sue445/go-gem-wrapper/ruby"
8181
)
8282
8383
//export Init_#{gem_name}

_tools/patch_for_go_gem/spec/patch_for_go_gem_spec.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ def sh(command)
6767
*/
6868
import "C"
6969
70+
import (
71+
\t"github.com/sue445/go-gem-wrapper/ruby"
72+
)
7073
GO
7174
end
7275

0 commit comments

Comments
 (0)