Move SDL usage code example 56/7556/2
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 13 Jan 2022 08:41:59 +0000 (10:41 +0200)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Thu, 13 Jan 2022 09:38:55 +0000 (11:38 +0200)
commitb90c98a034012f868892093058d0a18da7264296
tree0b8253141d0b9cad108ca9936d3506bb4d7cf127
parent7e262d4f4e530aec98903e99b195d9e2d07dbcb0
Move SDL usage code example

Move SDL usage code example from sdlgo repo's root to example
sub-directory and change it to be a runnable application. Earlier
example was belonging to the Golang test package what caused it to be
ran when 'go test ./...' -command was executed and execution of the
example was failing if DBAAS connection was missing. Execution failure
is also visible in the sdlgo coverage test of the sonarcloud.io.

Issue-Id: RIC-875

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I6d980e0730d4a6f768448134bc7efece050a6d89
example/example.go [moved from example_test.go with 68% similarity]