Add deprecation warnings for SdlInstance APIs 90/6690/3
authorTimo Tietavainen <timo.tietavainen@nokia.com>
Tue, 14 Sep 2021 12:10:03 +0000 (15:10 +0300)
committerTimo Tietavainen <timo.tietavainen@nokia.com>
Wed, 15 Sep 2021 08:32:44 +0000 (11:32 +0300)
commit354c65d7e6d9269e62b88b1804443513e55f4889
tree9a784eca7368e520810a27df0b4dcf2bd53d288d
parent4123ade6080f3f5e3f3bf44e30faeacc531f32d0
Add deprecation warnings for SdlInstance APIs

Add 'Deprecated:' warning texts to SdlInstance struct type and all
of its receiver API functions. SDL repository contains SyncStorage
struct type with its receiver API functions and it should be used
instead of SdlInstance. With this commit there is added deprecation
warnings and these warnings should be a heads up for SDL API users not
to use anymore  SdlInstance API. After some reasonable time has passed
SdlInstance will be removed completely from the SDL repository.

Issue-Id: RIC-805

Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I69d2e9fcfc42111c2e660cc451026c6d713cff70
sdl.go
sdl_private_fn_test.go