Last active
January 23, 2017 19:06
-
-
Save julian-klode/ee1921b59eb261e8968597cd78775ea6 to your computer and use it in GitHub Desktop.
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 "github.com/julian-klode/goapt" | |
func main() { | |
session := goapt.NewSession() | |
apt := session.Cache().Lookup("apt", "native") | |
cand := session.Policy().CandidateVersion(apt) | |
println("The current candidate for APT is:", cand.VerStr()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment