Dagger
Search

qr

A module with qr code functions

Installation

dagger install github.com/jpadams/qr@29b24894996c26b36433e5c988ed68c3fc920c54

Entrypoint

Return Type
Qr !
Example
dagger -m github.com/jpadams/qr@29b24894996c26b36433e5c988ed68c3fc920c54 call \
func (m *myModule) example() *Qr  {
	return dag.
			Qr()
}
@function
def example() -> dag.Qr:
	return (
		dag.qr()
	)
@func()
example(): Qr {
	return dag
		.qr()
}

Types

Qr 🔗

generateAsciiQr() 🔗

Return Type
String !
Arguments
NameTypeDefault ValueDescription
dataString !-No description provided
Example
dagger -m github.com/jpadams/qr@29b24894996c26b36433e5c988ed68c3fc920c54 call \
 generate-ascii-qr --data string
func (m *myModule) example(ctx context.Context, data string) string  {
	return dag.
			Qr().
			GenerateAsciiQr(ctx, data)
}
@function
async def example(data: str) -> str:
	return await (
		dag.qr()
		.generate_ascii_qr(data)
	)
@func()
async example(data: string): Promise<string> {
	return dag
		.qr()
		.generateAsciiQr(data)
}