From 8b84c4b1df40eaeace1f9971c8eac5c7c6fddb00 Mon Sep 17 00:00:00 2001 From: andrey Date: Sat, 6 Apr 2024 16:39:58 +0300 Subject: [PATCH] rename cgroup --- {cgroups => cgroup}/controller.go | 2 +- {cgroups => cgroup}/controller_string.go | 2 +- {cgroups => cgroup}/cpu.go | 2 +- {cgroups => cgroup}/go.mod | 2 +- {cgroups => cgroup}/go.sum | 0 {cgroups => cgroup}/version.go | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename {cgroups => cgroup}/controller.go (98%) rename {cgroups => cgroup}/controller_string.go (98%) rename {cgroups => cgroup}/cpu.go (99%) rename {cgroups => cgroup}/go.mod (94%) rename {cgroups => cgroup}/go.sum (100%) rename {cgroups => cgroup}/version.go (72%) diff --git a/cgroups/controller.go b/cgroup/controller.go similarity index 98% rename from cgroups/controller.go rename to cgroup/controller.go index 506a4b9..ac164b7 100644 --- a/cgroups/controller.go +++ b/cgroup/controller.go @@ -1,4 +1,4 @@ -package cgroups +package cgroup import "fmt" diff --git a/cgroups/controller_string.go b/cgroup/controller_string.go similarity index 98% rename from cgroups/controller_string.go rename to cgroup/controller_string.go index a4b5ed0..b56c5d9 100644 --- a/cgroups/controller_string.go +++ b/cgroup/controller_string.go @@ -1,6 +1,6 @@ // Code generated by "stringer -type=Controller -linecomment"; DO NOT EDIT. -package cgroups +package cgroup import "strconv" diff --git a/cgroups/cpu.go b/cgroup/cpu.go similarity index 99% rename from cgroups/cpu.go rename to cgroup/cpu.go index e8d26b8..5ec5961 100644 --- a/cgroups/cpu.go +++ b/cgroup/cpu.go @@ -1,4 +1,4 @@ -package cgroups +package cgroup import ( "context" diff --git a/cgroups/go.mod b/cgroup/go.mod similarity index 94% rename from cgroups/go.mod rename to cgroup/go.mod index 3414c24..88fb4da 100644 --- a/cgroups/go.mod +++ b/cgroup/go.mod @@ -1,4 +1,4 @@ -module gitoa.ru/go-4devs/otel/cgroups +module gitoa.ru/go-4devs/otel/cgroup go 1.22.2 diff --git a/cgroups/go.sum b/cgroup/go.sum similarity index 100% rename from cgroups/go.sum rename to cgroup/go.sum diff --git a/cgroups/version.go b/cgroup/version.go similarity index 72% rename from cgroups/version.go rename to cgroup/version.go index 0506478..1524e95 100644 --- a/cgroups/version.go +++ b/cgroup/version.go @@ -1,4 +1,4 @@ -package cgroups +package cgroup func Version() string { return "0.0.1"