version

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package version is used as a place, where application version defined.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Latest

func Latest(ctx context.Context, useClient ...httpClient) (string, error)

Latest returns the latest release tag of the "tarampampam/webhook-tester" repository.

Optionally, you can pass a custom HTTP client to use for the request. If not provided, the default client with a 15-second timeout will be used.

The 'v' prefix will be removed from the tag if it exists.

func Version

func Version() string

Version returns version value (without `v` prefix).

Types

This section is empty.

Jump to

Keyboard shortcuts

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