mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-23 09:18:51 +02:00
correcting some behaviors for $DOCKER_HOST, now uses container's private IP instead of localhost
This commit is contained in:
8
internal/utils/nocopy.go
Normal file
8
internal/utils/nocopy.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package utils
|
||||
|
||||
// empty struct that implements Locker interface
|
||||
// for hinting that no copy should be performed.
|
||||
type NoCopy struct{}
|
||||
|
||||
func (*NoCopy) Lock() {}
|
||||
func (*NoCopy) Unlock() {}
|
||||
Reference in New Issue
Block a user