sdk icon indicating copy to clipboard operation
sdk copied to clipboard

[SM-1237 Part 2] Add BitwardenClientInterface and Update cgo Flags

Open coltonhurst opened this issue 9 months ago • 2 comments

Type of change

  • [ ] Bug fix
  • [x] New feature development
  • [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
  • [ ] Build/deploy pipeline (DevOps)
  • [ ] Other

Objective

Description

Add the BitwardenClientInterface and related functions which will be used in integrations for mocks / testing. Update the cgo flags for multi-platform support via static linking.

Note

The -L /usr/local/lib -L /usr/lib locations were removed from the cgo lines. They only apply to Mac & Linux, and we are only currently supporting dynamic linking. If anyone is opposed to removing these please let me know, I figure we can add them back if we want to support dynamic linking in the future.

Before you submit

  • Please add unit tests where it makes sense to do so

coltonhurst avatar May 20 '24 20:05 coltonhurst