diff --git a/httpserver/static/root/component/left-nav-go.html b/httpserver/static/root/component/left-nav-go.html new file mode 100644 index 0000000..7743811 --- /dev/null +++ b/httpserver/static/root/component/left-nav-go.html @@ -0,0 +1,61 @@ + + Senzing + +
+ + + \ No newline at end of file diff --git a/httpserver/static/root/component/sdk-doc-go.html b/httpserver/static/root/component/sdk-doc-go.html new file mode 100644 index 0000000..6d520f2 --- /dev/null +++ b/httpserver/static/root/component/sdk-doc-go.html @@ -0,0 +1,11 @@ +

+ The Senzing SDK for Go methods are documented in the following: +

+

\ No newline at end of file diff --git a/httpserver/static/templates/site/go/index.html b/httpserver/static/templates/site/go/index.html index 829f53b..02b4f53 100644 --- a/httpserver/static/templates/site/go/index.html +++ b/httpserver/static/templates/site/go/index.html @@ -6,17 +6,18 @@ + - Senzing Playground - Go + Senzing Playground
+ w3-include-html="/component/left-nav-go.html">
@@ -26,19 +27,30 @@ -

Senzing Playground for Go

-

Go is not ready yet.

-
+

Go

+
+

+ The next step depends on your goal. +

+

+ + Choose your goal: +

+
    +
  1. I want to try Senzing SDK without installing anything else.
  2. +
  3. I want to use my own Jupyter Lab.
  4. +
  5. I want to try Senzing SDK in my development environment.
  6. +
  7. I want to migrate from using Senzing gRPC SDK to using the Senzing native + SDK. +
  8. +
+
diff --git a/httpserver/static/templates/site/go/playground.html b/httpserver/static/templates/site/go/playground.html new file mode 100644 index 0000000..ea5bcd9 --- /dev/null +++ b/httpserver/static/templates/site/go/playground.html @@ -0,0 +1,149 @@ + + + + + + + + + + + + + Senzing Playground - Go - Playground + + + +
+
+
+
+
+ +

Senzing SDK without installing anything else

+

+ You can use Jupyter notebooks or the Go SDK to explore Senzing. +

+
+

+ Hint: If the senzing/playground Docker container has been use in a prior + demonstration, restart the Docker container for best results. +

+ +
+
+
+

Jupyter notebooks

+

+ In this exercise, Jupyter notebooks have been created to demonstrate Senzing. Using these + notebooks in the embedded Jupyter Lab as a starting point, modify a notebook to explore + Senzing. +

+

+ More information on + Jupyter Lab. +

+

+ + Choose a Jupyter notebook: +

+

+

    +
  1. Senzing + Hello World - A simple test of connectivity to Senzing + engine.
  2. +
  3. Load + Senzing truth-sets - Load and query the Senzing truth-set-data. +
  4. +
  5. Load + user data - Load custom data. +
  6. +
+

+

+ Use a notebook as starting point to create your own Jupyter notebook. Remember that the + notebooks are not permanent and will be deleted when the Docker container is destroyed. You can + save a notebook to your workstation by selecting File > Download in Jupyter Lab. +

+

+ You can also upload a Go Notebook (.ipynb) file using a docker command. +
Example: +

+

+    docker container cp /tmp/my_local.ipynb senzing-playground:/examples/notebooks/go/my_local.ipynb
+                    
+
+

+
+
+
+

Go SDK

+

+ In this exercise, Go programs which access Senzing are run on the command line. +

+

+ To run the example programs in the Docker container, open a Docker terminal and run any of the following: +

+

+    senzing_hello_world.py
+    senzing_load_truthsets.py
+    senzing_load_user_data.py
+                        
+
+

+

+ Alternatively, you can use a docker command to open a terminal. Example: +

+

+    docker exec -it senzing-playground /bin/bash
+                    
+

+
+

+ By using docker commands, you can upload and download files to/from the running Docker + container.
Example download from Docker container: +

+

+    docker container cp senzing-playground:/examples/go/senzing_hello_world.py /tmp/senzing_hello_world.py
+                    
+
+ Example upload to Dockter container: +
+

+    docker container cp /tmp/my_local.py senzing-playground:/examples/go/my_local.py
+                    
+
+

+
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/httpserver/static/templates/site/home.html b/httpserver/static/templates/site/home.html index 64f735d..7077600 100644 --- a/httpserver/static/templates/site/home.html +++ b/httpserver/static/templates/site/home.html @@ -80,12 +80,12 @@
1. I want to try Senzing SDK without installing anyt
  •     - Go + Java     Java
  • - +     Go  Go