02-simple

command
v0.0.0-...-2d0281a Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

README

02-simple

The src/ directory has main.go and lib.go. the main.go uses only one function in the lib.go.

The difference between 01-simple/src and 02-simple/src is only a following line and Gottani populates the proper function for each case.

diff --git a/01-simple/src/main.go b/02-simple/src/main.go
index f5ade44..eeb16be 100644
--- a/01-simple/src/main.go
+++ b/02-simple/src/main.go
@@ -5,5 +5,5 @@ import (
 )

 func main() {
-       fmt.Println(max(1, 100))
+       fmt.Println(min(1, 100))
 }

Documentation

Overview

Code generated by Gottani; see https://github.com/ktateish/gottani/. DO NOT EDIT.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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