This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <title>Contoh API</title> | |
| </head> | |
| <body> | |
| <div id="result"> | |
| </div> | |
| <script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| ) | |
| func main() { | |
| fmt.Println("Hello World!") | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package math | |
| func Average(b []float64) float64 { | |
| total := float64(0) | |
| for _, x := range b { | |
| total += x | |
| } | |
| return total / float64(len(b)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "latihan-package/math" | |
| ) | |
| func main() { | |
| b := []float64{1,2,3,4} | |
| sum := math.Sum(b) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # --------------------------------------------------- | |
| # Vimeo | |
| # --------------------------------------------------- | |
| 151.101.0.217 player.vimeo.com | |
| 151.101.192.249 vimeo-hp-videos.global.ssl.fastly.net | |
| 151.101.2.109 f.vimeocdn.com | |
| 151.101.192.217 vimeo.com | |
| 151.101.66.109 i.vimeocdn.com | |
| 151.101.64.217 developer.vimeo.com |