To me this sounds like hexagonal / ports and adapters architecture with a better name and a 100x better diagram.

https://medium.com/@remast/the-ddd-hamburger-for-go-61dba99c4aaf

The DDD Hamburger for Go. The DDD Hamburger is my favorite… | by Jan Stamer | Jan, 2024 | Medium
medium.com