util

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoOpLocker

type NoOpLocker struct{}

NoOpLocker is a virtual implementation of Locker

This is a no-op implementation that does nothing when Lock() or Unlock() is called. It's useful for testing or when you want to maintain the locking interface without actual synchronization.

func (*NoOpLocker) Lock

func (n *NoOpLocker) Lock()

Lock is a no-op implementation

func (*NoOpLocker) Unlock

func (n *NoOpLocker) Unlock()

Unlock is a no-op implementation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL