package
Version:
v0.0.0-...-c470439
Opens a new window with list of versions in this module.
Published: Dec 28, 2019
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package dog allows us to more fully understand dogs.
Years converts human years to dog years.
package main
import (
"fmt"
"github.com/preslavmihaylov/learn-golang/ninja-level-13/ex01/dog"
)
func main() {
fmt.Println(dog.Years(10))
}
Output:
70
YearsTwo converts human years to dog years.
package main
import (
"fmt"
"github.com/preslavmihaylov/learn-golang/ninja-level-13/ex01/dog"
)
func main() {
fmt.Println(dog.YearsTwo(10))
}
Output:
70
Source Files
¶
Click to show internal directories.
Click to hide internal directories.