引用第三方库
This commit is contained in:
1 parent
695d1993f9
commit
f0179fed9a
2 files changed
+14
No files matched your search
@@ -4,9 +4,18 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
gha "github.com/sethvargo/go-githubactions"
|
||||
)
|
||||
|
||||
func main() {
|
||||
username := gha.GetInput("username")
|
||||
fmt.Printf("username is %s\n", username)
|
||||
|
||||
gha.SetOutput("time", time.Now().Format("2006-01-02 15:04:05"))
|
||||
}
|
||||
|
||||
func old_version() {
|
||||
username := readInputs()
|
||||
fmt.Printf("username is %s\n", username)
|
||||
|
||||
|
||||
Reference in new issue
Block a user