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 BinaryPlatformNameDynamic ¶ added in v0.19.0
func BinaryPlatformNameDynamic() string
BinaryPlatformNameDynamic returns the name of the prisma binary which should be used, for example "darwin" or "linux-openssl-1.1.x". This can include dynamically linked binaries.
func BinaryPlatformNameStatic ¶ added in v0.19.0
func BinaryPlatformNameStatic() string
BinaryPlatformNameStatic returns the name of the prisma binary which should be used, for example "darwin" or "linux-static-x64". This only includes statically linked binaries.
func CheckForExtension ¶
CheckForExtension adds a .exe extension on windows (e.g. .gz -> .exe.gz)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.