nspcc-dev / neofs-sdk-go

Go implementation of NeoFS SDK
Apache License 2.0
5 stars 14 forks source link

Separate dirs for users and internal ones #594

Open carpawell opened 4 days ago

carpawell commented 4 days ago

The structure of the repo looks a little bit overwhelming now. We have structs for real users (object, nemap, etc) and some non-SDK things (doc, api, scripts, stat). Have you considered moving "SDK" things to a separate folder? Naming can be hard here but still.

Originally posted by @carpawell in https://github.com/nspcc-dev/neofs-sdk-go/pull/591#pullrequestreview-2159245860

carpawell commented 4 days ago

It was not a problem before but now we have api, docs, internal, scripts, stat dirs that are not expected to be used by a regular user (pool and waiter are also questionable to me but ok). We can place the all the "user" code to a separate dir or mark non-usable dirs somehow (e.g. start their name with _).