From f7b19ae21c0c9dc4172fd79caf1536df3d82b113 Mon Sep 17 00:00:00 2001 From: zijiren233 Date: Sun, 17 Nov 2024 23:32:07 +0800 Subject: [PATCH] feat: git submodules add vendors --- .gitmodules | 3 +++ go.mod | 2 ++ go.sum | 2 -- vendors | 1 + 4 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 .gitmodules create mode 160000 vendors diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7fd4028 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "vendors"] + path = vendors + url = https://github.com/synctv-org/vendors diff --git a/go.mod b/go.mod index cae73a2..2156ea4 100644 --- a/go.mod +++ b/go.mod @@ -4,6 +4,8 @@ go 1.22.7 toolchain go1.23.3 +replace github.com/synctv-org/vendors => ./vendors + require ( github.com/Boostport/mjml-go v0.15.0 github.com/caarlos0/env/v9 v9.0.0 diff --git a/go.sum b/go.sum index 5917376..92d66d8 100644 --- a/go.sum +++ b/go.sum @@ -350,8 +350,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -github.com/synctv-org/vendors v0.3.3 h1:jRSOML2XNcjS5eKvWL3b4KlI106Rss5rEAisHfY6CIY= -github.com/synctv-org/vendors v0.3.3/go.mod h1:S3Xhi+MOjg0OOyUxwfCBLG5EuNYQNqjq/J07CptZ0Rw= github.com/tetratelabs/wazero v1.8.1 h1:NrcgVbWfkWvVc4UtT4LRLDf91PsOzDzefMdwhLfA550= github.com/tetratelabs/wazero v1.8.1/go.mod h1:yAI0XTsMBhREkM/YDAK/zNou3GoiAce1P6+rp/wQhjs= github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM= diff --git a/vendors b/vendors new file mode 160000 index 0000000..35c5170 --- /dev/null +++ b/vendors @@ -0,0 +1 @@ +Subproject commit 35c51706464f889b3b2a146d78599e3f4ee4b4e4