github.com/taubyte/tau-cli@v0.1.13-0.20240326000942-487f0d57edfc/lib/project/create_repository_local.go (about) 1 //go:build localAuthClient 2 3 package projectLib 4 5 import ( 6 "fmt" 7 8 client "github.com/taubyte/tau/clients/http/auth" 9 ) 10 11 var repoNum = 100000 12 13 func CreateRepository(client *client.Client, name, description string, private bool) (id string, err error) { 14 id = fmt.Sprintf("%d", repoNum) 15 repoNum += 1 16 17 return 18 }