mirror of
https://github.com/magefile/mage.git
synced 2026-10-24 06:19:18 +03:00
19 lines
353 B
Go
19 lines
353 B
Go
//go:build mage
|
|
// +build mage
|
|
|
|
package main
|
|
|
|
import "time"
|
|
|
|
func OptionalString(name string, greeting *string) {}
|
|
|
|
func OptionalInt(a int, b *int) {}
|
|
|
|
func OptionalFloat64(value float64, factor *float64) {}
|
|
|
|
func OptionalBool(verbose *bool) {}
|
|
|
|
func OptionalDuration(base time.Duration, extra *time.Duration) {}
|
|
|
|
func AllOptional(a *string, b *int) {}
|