Skip to content

daptin/daptin-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Daptin Golang Client

package main

import daptinClient "github.com/daptin/daptin-go-client"
import "log"

func main() {
    clientConnection := daptinClient.NewDaptinClient("http://localhost:6336")
    signUpResponses, err := clientConnection.ExecuteAction("signup", "user_account", map[string]interface{}{
                "email": "[email protected]",
                "name": "test account",
                "password": "[email protected]",
                "passwordConfirm": "[email protected]",
    })
    if err != nil {
        log.Printf("Sign up failed: %v", signUpResponses)
    }
}