From 7e933a8816f3feb51c685fc699528476d2aa8898 Mon Sep 17 00:00:00 2001 From: Tom DNetto Date: Thu, 19 Oct 2023 11:39:53 -0700 Subject: [PATCH] appctype: move to types/appctype Having a types package at the top level was almost certainly unintentional. Signed-off-by: Tom DNetto Updates: https://github.com/tailscale/corp/issues/15038 --- appc/appc.go | 2 +- appc/appc_test.go | 2 +- {appctype => types/appctype}/appconnector.go | 0 {appctype => types/appctype}/appconnector_test.go | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename {appctype => types/appctype}/appconnector.go (100%) rename {appctype => types/appctype}/appconnector_test.go (100%) diff --git a/appc/appc.go b/appc/appc.go index 2e1a53f74..321f4dcf7 100644 --- a/appc/appc.go +++ b/appc/appc.go @@ -13,9 +13,9 @@ import ( "time" "golang.org/x/net/dns/dnsmessage" - "tailscale.com/appctype" "tailscale.com/metrics" "tailscale.com/tailcfg" + "tailscale.com/types/appctype" "tailscale.com/types/ipproto" "tailscale.com/types/nettype" "tailscale.com/util/clientmetric" diff --git a/appc/appc_test.go b/appc/appc_test.go index d14a5bbf0..9bb69db2b 100644 --- a/appc/appc_test.go +++ b/appc/appc_test.go @@ -9,8 +9,8 @@ import ( "github.com/google/go-cmp/cmp" "github.com/google/go-cmp/cmp/cmpopts" - "tailscale.com/appctype" "tailscale.com/tailcfg" + "tailscale.com/types/appctype" ) func TestMakeConnectorsFromConfig(t *testing.T) { diff --git a/appctype/appconnector.go b/types/appctype/appconnector.go similarity index 100% rename from appctype/appconnector.go rename to types/appctype/appconnector.go diff --git a/appctype/appconnector_test.go b/types/appctype/appconnector_test.go similarity index 100% rename from appctype/appconnector_test.go rename to types/appctype/appconnector_test.go