aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2023-03-04 10:56:43 +0100
committerRobin Jarry <robin@jarry.cc>2023-03-07 00:12:36 +0100
commit70dfd1bc40b633f83010ab1e5721a613f96efb87 (patch)
treee3d7a08e2eebfe1582fcc7b2325e9cdb8182d5fe /lib
parent8b26dc1d62c8ec258707527953bd0d2195684adf (diff)
downloadaerc-70dfd1bc40b633f83010ab1e5721a613f96efb87.tar.gz
socket: extract functionality into ipc package
The current model of files dumped into lib does not follow the general advice not to have "util" classes. Naming the package "lib" does not change that it is a random assortments of functions that have some utility. Extracts socket functionality into it's own package. Signed-off-by: Moritz Poldrack <git@moritz.sh> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib')
-rw-r--r--lib/ipc/socket.go (renamed from lib/socket.go)2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/socket.go b/lib/ipc/socket.go
index 5a41d910..27692a9b 100644
--- a/lib/socket.go
+++ b/lib/ipc/socket.go
@@ -1,4 +1,4 @@
-package lib
+package ipc
import (
"bufio"