golibs

package module
v0.3.14 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

README

CILicense

golibs

The repository contains utility code that can be used by applications written in Golang. Can be called 'common utils'.

Intention

In many services, we use the same things to instrument and support them, e.g., logging, context management, transformations, syncs, etc. We collect them in one place to avoid copy-paste and form a common place for the code that multiple services can use.

Rules

  • the folders in the root have names of the class of objects or the functionality it works with: contexts, sync, logging etc.
  • all commits should be reviewed.
  • changes in the utilities should be incremental and backward compatible. Use a new name/package path if you add functionality incompatible with the existing one.

License

This project is licensed under the Apache Version 2.0 License - see the LICENSE file for details

Acknowledgments

  • GoLand IDE by JetBrains is used for the code development

Documentation

Overview

Copyright 2023 The acquirecloud Authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reseter

type Reseter interface {
	// Reset allows to reset the object to the initial state. Result may
	// indicate about an error during the reset.
	Reset() error
}

Reseter is the interface that wraps the Reset method.

Some implementations may support reset mechanism, which allows to reset an object to its initial state. The objects may be considered resetable if they support this interface.

Jump to

Keyboard shortcuts

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