xref: /aosp_15_r20/external/bazelbuild-rules_go/tests/core/importmap/README.rst (revision 9bb1b549b6a84214c53be0924760be030e66b93a)
1Import maps
2===========
3
4.. _go_library: /docs/go/core/rules.md#_go_library
5
6Tests to ensure that importmap is working as expected.
7
8.. contents::
9
10importmap_test
11--------------
12
13Test that importmap declarations on go_library_ are propagated and obeyed.
14This builds libraries using `src.go <src.go>`_ as multiple outputs with the differing importpaths,
15adds identical importmap declarations and then checks that the libraries can be correctly imported
16without colliding through differing intermediate libraries into `the main test <importmap_test.go>`_.
17