nabbar 71c18b96a5 Rework Archive
Package Archive:
- complete rework of package
- split package between compression (stream compression only) and
  archive (catalogue/dictionary/tape archive type)
- rework compression to be stream only working without any temporary
  file or any like
- rework archive like TAR, ZIP... to expose stream instead of writing
  directly file/path
- rework archive like TAR, ZIP... to allow adding file from stream only
  and allowing to parsing local path to add it into archive
- rework detection of compression / archive
- rework extractAll function to not using useless local temporary file
- adding test can be used as example and perform testing of most of
  package code
- using const custom type for compression and archive allow them to be
  parsed, marshalled or unmarshalled from text or json and more
- apply following change into other module that use it
2024-04-02 09:12:31 +02:00
2023-11-21 20:21:37 +01:00
2024-04-02 09:12:31 +02:00
2023-08-28 11:22:08 +02:00
2024-02-16 15:42:13 +01:00
2024-02-16 15:42:13 +01:00
2024-01-15 14:22:22 +01:00
2023-11-29 16:05:28 +01:00
2024-03-27 17:33:32 +01:00
2023-08-28 11:22:08 +02:00
2023-11-21 20:21:37 +01:00
2023-11-21 20:21:37 +01:00
2024-03-23 15:33:24 +01:00
2024-02-16 15:42:13 +01:00
2023-11-21 20:21:37 +01:00
2024-01-15 14:22:22 +01:00
2024-02-28 13:41:33 +01:00
2024-03-23 15:33:24 +01:00
2024-03-23 15:33:24 +01:00
2024-03-27 17:33:32 +01:00
2024-02-28 13:41:33 +01:00
2023-08-28 11:22:08 +02:00
2023-08-28 11:22:08 +02:00
2023-08-28 11:22:08 +02:00
2024-03-07 18:21:55 +01:00
2024-01-15 14:22:22 +01:00
2024-03-11 11:09:26 +01:00
2024-04-02 09:12:31 +02:00
2024-01-15 14:22:22 +01:00
2023-11-21 20:21:37 +01:00
2024-03-23 15:33:24 +01:00
2023-12-02 16:49:04 +01:00
2024-02-20 16:15:38 +01:00
2023-12-02 16:49:04 +01:00
2024-02-16 15:42:13 +01:00
2024-03-07 18:21:55 +01:00
2023-07-28 13:33:22 +02:00
2024-03-23 15:33:24 +01:00
2023-08-28 11:22:08 +02:00
2024-03-23 15:33:24 +01:00
2023-12-02 16:49:04 +01:00
2023-08-28 11:22:08 +02:00
2024-04-02 09:12:31 +02:00
2023-08-28 11:22:08 +02:00
2024-01-05 16:12:05 +01:00
2023-06-02 10:26:35 +02:00
2020-01-04 14:42:49 +01:00
2020-01-04 14:42:49 +01:00
2024-04-02 09:12:31 +02:00
2021-12-29 16:40:57 +01:00
2021-04-23 13:38:43 +02:00
2021-12-30 13:27:14 +01:00

Go

golib : custom lib for go

snyk project : https://app.snyk.io/org/nabbar/project/2f55a2b8-6015-4db1-b859-c2bc3b7548a7

using in source code

first get the source dependancies

go get -u github.com/nabbar/golib/...

second, import the needed lib in your code

import "github.com/nabbar/golib/version"

Details of packages :

Build tags

To build static, pure go, some packages need to use tags osusergo and netgo, like this

go build -a -tags osusergo,netgo -installsuffix cgo ...
Description
custom libraries for go
Readme MIT 61 MiB
Languages
Go 99.7%
Shell 0.3%