initial import

This commit is contained in:
SourceFellows
2020-08-21 06:26:40 +02:00
commit e223458dd4
423 changed files with 9871 additions and 0 deletions

View File

@ -0,0 +1,7 @@
//Package sampledoc zeigt wie man Integer Werte addiert.
package sampledoc
//Add addiert zwei Integer Werte und liefert das Ergebnis.
func Add(first int, second int) int {
return first + second
}

View File

@ -0,0 +1,12 @@
package sampledoc
import "fmt"
func ExampleAdd() {
res := Add(1, 2)
fmt.Println(res)
//Output: 3
}