This file contains 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
# docker container inspect portainermacvlan | |
[ | |
"NetworkSettings": { | |
"Bridge": "", | |
"SandboxID": "48fd987a4ad8ecfbef8a2d44c067c07489ed70048ddeec2f1778e3f7cfa20377", | |
"HairpinMode": false, | |
"LinkLocalIPv6Address": "", | |
"LinkLocalIPv6PrefixLen": 0, | |
"Ports": {}, | |
"SandboxKey": "/var/run/docker/netns/48fd987a4ad8", |
This file contains 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" | |
"io/ioutil" | |
"math" | |
"strconv" | |
) | |
// decimal places rounding | |
func round(input float64, places int) (float64) { |