gojuice

module
v1.11.19 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT

README ΒΆ

Features

Gojuice πŸ§ƒ is a collection of useful Go code designed to simplify your testing and development process. It includes a variety of utilities and helpers that can be easily integrated into your Go projects.
  1. Cup Packages: Define types, constants, functions, and interfaces. They include:

    • πŸ₯€ funccup
    • πŸ₯€ interfacecup
    • πŸ₯€ structcup
    • πŸ₯€ typecup
    • πŸ₯€ constcup
  2. Juice Packages: Provide utility functions and methods related to their respective names. They include:

    • πŸ§ƒ apijuice
    • πŸ§ƒ modeljuice
    • πŸ§ƒ mongojuice
    • πŸ§ƒ logjuice
    • πŸ§ƒ httpjuice
    • πŸ§ƒ firebasejuice
    • πŸ§ƒ gcloudjuice
    • πŸ§ƒ reflectjuice
    • πŸ§ƒ testjuice
    • πŸ§ƒ validationjuice
    • πŸ§ƒ workerjuice

Gojuice πŸ§ƒ

Gojuice Logo

Go Reference License Badge

Go Report Card GitLab last commit Tag Badge Maintenance

GitLab stars

Table of Contents

Description

Gojuice πŸ§ƒ is a comprehensive library of Go utilities designed to streamline your testing and development process. It offers a wide range of helpers and utilities that can be seamlessly integrated into your Go projects. Gojuice is organized into two main sections:

  1. Type Packages: These packages, ending with "cup", define various types, constants, functions, and interfaces that you can import into your projects. They include constcup, funccup, interfacecup, structcup, and more.

  2. Utility Packages: These packages, ending with "juice", provide a set of utility functions and methods related to their respective names. They include apijuice, modeljuice, logjuice, and more.

Websites and Companies Using Gojuice

Here is a non-exhaustive list of websites and companies that have chosen to power their backend infrastructure using Gojuice πŸ§ƒ:

Installation

To install Gojuice, use the go get command:

go get gitlab.com/fruitygo/gojuice

Then, import it in your project:

import "gitlab.com/fruitygo/gojuice"

Reference

Refer to our Go Reference for detailed usage instructions and examples.

License

Gojuice is licensed under the MIT License.

End

In conclusion, Gojuice πŸ§ƒ is your all-in-one solution for streamlining your Go development and testing process. It simplifies your configuration, reduces code duplication, and allows you to create efficient projects with ease. Start using Gojuice today and experience the benefits of a more streamlined and efficient development process in your projects!

Directories ΒΆ

Path Synopsis
cup
funccup
Description: This package provides a set of functions for functional programming in Go.
Description: This package provides a set of functions for functional programming in Go.
interfacecup
Description: This package provides interfaces.
Description: This package provides interfaces.
structcup
Description: This package contains the structures to be imported and used by other packages.
Description: This package contains the structures to be imported and used by other packages.
juice
apijuice
Description: This package provides utility functions for writing JSON responses and checking mandatory query parameters.
Description: This package provides utility functions for writing JSON responses and checking mandatory query parameters.
firebasejuice
Description: This package provides a set of functions to interact with the Firebase API and the Firebase Admin SDK.
Description: This package provides a set of functions to interact with the Firebase API and the Firebase Admin SDK.
gcloudjuice
Description: This package provides a set of functions to interact with Google Cloud services such as Secret Manager, Pub/Sub, and Maps.
Description: This package provides a set of functions to interact with Google Cloud services such as Secret Manager, Pub/Sub, and Maps.
httpjuice
Description: This package provides a set of functions to create HTTP requests with a JSON body and a Bearer token.
Description: This package provides a set of functions to create HTTP requests with a JSON body and a Bearer token.
logjuice
Description: This package provides a simple way to log messages with structured data in JSON format.
Description: This package provides a simple way to log messages with structured data in JSON format.
modeljuice
Description: This package provides a factory registry for creating instances of different structs.
Description: This package provides a factory registry for creating instances of different structs.
mongojuice
Description: This package provides a set of utility functions for working with MongoDB databases using the official MongoDB Go driver.
Description: This package provides a set of utility functions for working with MongoDB databases using the official MongoDB Go driver.
reflectjuice
Description: This package contains helper functions for working with the reflect package.
Description: This package contains helper functions for working with the reflect package.
slicejuice
Description: This package contains utility functions for working with slices.
Description: This package contains utility functions for working with slices.
testjuice
Description: This package contains helper functions to be used in tests.
Description: This package contains helper functions to be used in tests.
timejuice
Description: Time related helper functions.
Description: Time related helper functions.
validationjuice
Description: This package contains functions that are used to validate nil values.
Description: This package contains functions that are used to validate nil values.
workerjuice
Description: This file contains the implementation of a simple semaphore.
Description: This file contains the implementation of a simple semaphore.

Jump to

Keyboard shortcuts

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