From f75f288e1293e3548cbd30eb5fc057585d45a1c0 Mon Sep 17 00:00:00 2001 From: Gustavo Caso Date: Fri, 15 Oct 2021 08:24:30 -0400 Subject: [PATCH] move import for include vendor.go files inside include/vendor.go (#196) --- cgo.go | 2 -- deps/include/vendor.go | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cgo.go b/cgo.go index 90c10db3..684889e8 100644 --- a/cgo.go +++ b/cgo.go @@ -19,8 +19,6 @@ import "C" import ( _ "rogchap.com/v8go/deps/darwin_x86_64" _ "rogchap.com/v8go/deps/include" - _ "rogchap.com/v8go/deps/include/cppgc" - _ "rogchap.com/v8go/deps/include/libplatform" _ "rogchap.com/v8go/deps/linux_x86_64" _ "rogchap.com/v8go/deps/windows_x86_64" ) diff --git a/deps/include/vendor.go b/deps/include/vendor.go index d8147108..f9ce62fe 100644 --- a/deps/include/vendor.go +++ b/deps/include/vendor.go @@ -1,3 +1,8 @@ // Package include is required to provide support for vendoring modules // DO NOT REMOVE package include + +import ( + _ "rogchap.com/v8go/deps/include/cppgc" + _ "rogchap.com/v8go/deps/include/libplatform" +)