platform

package
v0.17.0-otel-1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package platform provides runtime methods to find out the correct prisma binary to use

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BinaryPlatformName

func BinaryPlatformName() string

BinaryPlatformName returns the name of the prisma binary which should be used, for example "darwin" or "linux-openssl-1.1.x"

func CheckForExtension

func CheckForExtension(platform, path string) string

CheckForExtension adds a .exe extension on windows (e.g. .gz -> .exe.gz)

func Name

func Name() string

Name returns the platform name

Types

This section is empty.

Jump to

Keyboard shortcuts

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